gtk2/gdk
Carlos Garnacho eeda25ab04 gdk/wayland: Use serial of the latest implicit grab available
When getting the serial for primary/clipboard selections we used a
function that largely relied on a GdkEvent being passed. We have
another available function that looks up the most recent serial
given the ongoing touch/tablet input as well.

This is the second best, compared to actually knowing the
input/device from the event that was received by the UI an triggered
the clipboard operation, and is already in use in other places
(e.g. window dragging). It is valid for these situations too.

Closes: https://gitlab.gnome.org/GNOME/gtk/-/issues/5250
2022-10-19 13:54:07 +02:00
..
broadway Merge branch 'forward-port-mr-991-to-gtk4-2' into 'main' 2022-10-17 19:20:08 +00:00
loaders Drop gdkintl.h 2022-09-23 23:33:42 -04:00
macos Merge branch 'forward-port-mr-991-to-gtk4-2' into 'main' 2022-10-17 19:20:08 +00:00
wayland gdk/wayland: Use serial of the latest implicit grab available 2022-10-19 13:54:07 +02:00
win32 Merge branch 'forward-port-mr-991-to-gtk4-2' into 'main' 2022-10-17 19:20:08 +00:00
x11 Merge branch 'forward-port-mr-991-to-gtk4-2' into 'main' 2022-10-17 19:20:08 +00:00
COPYING Change FSF Address 2012-02-27 17:06:11 +00:00
default_cursor.png gdk: Include a default cursor as resource 2020-04-26 14:41:52 -04:00
filetransferportal.c portal: Use the right mimetype for file transfers 2022-09-15 15:18:17 -04:00
filetransferportalprivate.h Tweak the file transfer portal _again_ 2020-01-17 23:46:37 -05:00
gdk.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdk.h gdk: Dissolve gdk-autocleanup.h 2022-09-23 19:49:58 -04:00
gdkapplaunchcontext.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdkapplaunchcontext.h gdk: Dissolve gdk-autocleanup.h 2022-09-23 19:49:58 -04:00
gdkapplaunchcontextprivate.h Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkarrayimpl.c gdkarray: Add a "stolen" boolean to splice() 2020-12-24 06:38:45 +01:00
gdkcairo.c cairo: Use GdkTexture for converting from pixbuf 2021-10-06 22:50:07 +02:00
gdkcairo.h gdk: Deprecate gdk_cairo_draw_from_gl() 2021-09-12 05:54:37 +02:00
gdkcairocontext.c gdk: Remove gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkcairocontext.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkcairocontextprivate.h gdkcairocontext*.h: Include cairo.h consistently 2018-05-15 13:49:45 +08:00
gdkcairoprivate.h gdk: Remove gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkclipboard.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdkclipboard.h gdk: Dissolve gdk-autocleanup.h 2022-09-23 19:49:58 -04:00
gdkclipboardprivate.h gdk: Change some async clipboard api 2019-04-02 15:10:53 +00:00
gdkconfig.h.meson gdk: Cosmetics 2022-10-05 23:01:28 -04:00
gdkconfig.h.win32 Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkconfig.h.win32_vulkan Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkconstructorprivate.h Rename gdkconstructor.h to gdkconstructorprivate.h 2022-09-23 23:14:08 -04:00
gdkcontentdeserializer.c Add more names to sources 2022-09-28 12:37:21 -04:00
gdkcontentdeserializer.h gdk: Clean up docs syntax 2021-05-22 17:25:26 -04:00
gdkcontentformats.c Add constructors for GdkFileList 2022-07-28 14:41:35 +01:00
gdkcontentformats.h gdk: Dissolve gdk-autocleanup.h 2022-09-23 19:49:58 -04:00
gdkcontentformatsprivate.h gdk: Sanitize GdkContentFormats API 2017-11-20 23:15:11 +01:00
gdkcontentprovider.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdkcontentprovider.h gdk: Dissolve gdk-autocleanup.h 2022-09-23 19:49:58 -04:00
gdkcontentproviderimpl.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdkcontentproviderimpl.h Remove gdk_content_provider_new_with_formats() 2020-02-18 02:40:00 +01:00
gdkcontentproviderprivate.h clipboard: Introduce GdkContentProvider 2017-12-03 05:46:47 +01:00
gdkcontentserializer.c gdkcontentserializer: Use newlines for file separators 2022-10-10 13:27:07 -07:00
gdkcontentserializer.h gdk: Clean up docs syntax 2021-05-22 17:25:26 -04:00
gdkcursor.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdkcursor.h gdk: Dissolve gdk-autocleanup.h 2022-09-23 19:49:58 -04:00
gdkcursorprivate.h gdk: Add gdk_cursor_hash() and gdk_cursor_equal() 2017-11-04 00:07:13 +01:00
gdkdebugprivate.h Rename gdkdebug.h to gdkdebugprivate.h 2022-09-23 23:12:01 -04:00
gdkdevice.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdkdevice.h gdk: Dissolve gdk-autocleanup.h 2022-09-23 19:49:58 -04:00
gdkdevicepad.c gdk: Clean up docs syntax 2021-05-22 17:25:26 -04:00
gdkdevicepad.h Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkdevicepadprivate.h Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkdeviceprivate.h gdk: Add gdk_device_get_timestamp 2021-03-26 10:30:33 -04:00
gdkdevicetool.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdkdevicetool.h gdk: Split enums from types 2021-10-26 20:59:37 +02:00
gdkdevicetoolprivate.h gdk: Pass hardware ID on gdk_device_tool_new() 2016-08-23 21:01:44 +02:00
gdkdisplay.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdkdisplay.h gdk: Dissolve gdk-autocleanup.h 2022-09-23 19:49:58 -04:00
gdkdisplaymanager.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdkdisplaymanager.h gdk: Dissolve gdk-autocleanup.h 2022-09-23 19:49:58 -04:00
gdkdisplaymanagerprivate.h gdk: Unvfuncify gdk_display_manager_open_display() 2013-04-19 16:23:43 -04:00
gdkdisplayprivate.h Rename gdkdebug.h to gdkdebugprivate.h 2022-09-23 23:12:01 -04:00
gdkdrag.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdkdrag.h gdk: Dissolve gdk-autocleanup.h 2022-09-23 19:49:58 -04:00
gdkdragprivate.h Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkdragsurface.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdkdragsurface.h Annotation fixes 2020-04-03 15:30:56 +01:00
gdkdragsurfaceprivate.h Add a GdkDragSurface interface 2020-03-12 14:56:21 -04:00
gdkdrawcontext.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdkdrawcontext.h gdk: Dissolve gdk-autocleanup.h 2022-09-23 19:49:58 -04:00
gdkdrawcontextprivate.h gdk: hdr => high depth 2021-10-06 22:50:07 +02:00
gdkdrop.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdkdrop.h gdk: Dissolve gdk-autocleanup.h 2022-09-23 19:49:58 -04:00
gdkdropprivate.h gdk: Make gdk_drop_status() take preferred action 2020-03-02 04:43:56 +01:00
gdkenums.h gdk: Split enums from types 2021-10-26 20:59:37 +02:00
gdkevents.c Merge branch 'forward-port-mr-991-to-gtk4-2' into 'main' 2022-10-17 19:20:08 +00:00
gdkevents.h gdk: Dissolve gdk-autocleanup.h 2022-09-23 19:49:58 -04:00
gdkeventsprivate.h Use native Windows API for converting keystrokes to characters 2022-10-17 19:36:48 +02:00
gdkframeclock.c gdk: Remove gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkframeclock.h gdk: Dissolve gdk-autocleanup.h 2022-09-23 19:49:58 -04:00
gdkframeclockidle.c Add more names to sources 2022-09-28 12:37:21 -04:00
gdkframeclockidleprivate.h frameclockidle: Rename header so it's private now 2018-03-29 05:02:15 +02:00
gdkframeclockprivate.h gdk/frame-clock: Remove the newly added 'compute-size' phase 2020-12-07 09:46:39 +01:00
gdkframetimings.c docs: Rework the gdk docs 2021-03-11 16:37:31 +00:00
gdkframetimings.h gdk: Dissolve gdk-autocleanup.h 2022-09-23 19:49:58 -04:00
gdkgl.c gdk: Remove unused gdk_gl_texture_quads() function 2021-10-06 03:44:36 +02:00
gdkglcontext.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdkglcontext.h gdk: Dissolve gdk-autocleanup.h 2022-09-23 19:49:58 -04:00
gdkglcontextprivate.h Merge branch 'gl-api-es-fix' into 'main' 2022-06-04 20:26:58 +00:00
gdkglobals.c gdk: Remove gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkgltexture.c gdk/gl: handle GL_RGBA/GL_UNSIGNED_NORMALIZED 2022-03-24 18:05:11 -07:00
gdkgltexture.h gdk: Dissolve gdk-autocleanup.h 2022-09-23 19:49:58 -04:00
gdkgltextureprivate.h texture: Expose subclasses as subclasses 2018-03-18 05:57:07 +01:00
gdkhsla.c gdk_rgba_parse: Support HSL colors 2021-09-10 16:56:42 -05:00
gdkhslaprivate.h gdk: Remove gdk.h include from header 2021-09-24 22:11:57 +02:00
gdkkeys.c gdk: Tweaks to keyname handling 2022-09-24 10:03:37 -04:00
gdkkeys.h Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkkeysprivate.h gdk: Drop an unused function 2022-07-16 09:43:46 -04:00
gdkkeysyms-update.pl Update the link to the development branch 2022-01-13 14:42:34 +00:00
gdkkeysyms.h Update the link to the development branch 2022-01-13 14:42:34 +00:00
gdkkeyuni.c gdk: Update keyboard symbols from libxkbcommon 2022-01-29 14:31:09 +02:00
gdkmarshalers.list surface: add missing va_marshaller for layout signal 2021-12-07 22:21:19 -08:00
gdkmemoryformat.c gdk: Add a rgb8 → rgba8 conversion macro 2022-03-03 16:05:52 +01:00
gdkmemoryformatprivate.h gdk: Split enums from types 2021-10-26 20:59:37 +02:00
gdkmemorytexture.c Fixes for gdk_memory_texture_new_subtexture 2022-05-13 09:30:46 -04:00
gdkmemorytexture.h gdk: Split enums from types 2021-10-26 20:59:37 +02:00
gdkmemorytextureprivate.h gl: Refactor texture uploading 2021-10-13 14:33:44 +02:00
gdkmonitor.c Remove all nicks and blurbs from param specs 2022-05-11 18:16:29 +02:00
gdkmonitor.h gdk: Dissolve gdk-autocleanup.h 2022-09-23 19:49:58 -04:00
gdkmonitorprivate.h gdk/monitor: Remove gdk_monitor_work_area and GdkMonitor::work-area 2020-07-29 17:57:30 +02:00
gdkpaintable.c Rename gdk-private.h to gdkprivate.h 2022-09-23 23:23:27 -04:00
gdkpaintable.h docs: Fix vfunc references 2021-08-29 04:29:02 +02:00
gdkpango.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdkpango.h Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkpipeiostream.c gdk: Plug a memleak 2022-08-19 02:38:11 +02:00
gdkpipeiostreamprivate.h clipboard: Implement local fallback clipboard transfers 2017-12-03 05:46:47 +01:00
gdkpixbuf.c gdk: Rename gdkpixbuf-drawable.c 2022-09-24 10:03:37 -04:00
gdkpixbuf.h Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkpopup.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdkpopup.h docs: Rework the gdk docs 2021-03-11 16:37:31 +00:00
gdkpopuplayout.c docs: More syntax fixes 2021-05-22 21:21:10 -04:00
gdkpopuplayout.h gdk: Dissolve gdk-autocleanup.h 2022-09-23 19:49:58 -04:00
gdkpopupprivate.h Introduce GdkPopup 2020-03-11 19:35:55 -04:00
gdkprivate.h Rename gdk-private.h to gdkprivate.h 2022-09-23 23:23:27 -04:00
gdkprofiler.c Port tracing to the sysprof collector api 2020-08-21 10:55:01 -04:00
gdkprofilerprivate.h profiler: allow using gdk profiler functions without braces 2021-02-08 11:29:32 -08:00
gdkrectangle.c gdk: Clean up docs syntax 2021-05-22 17:25:26 -04:00
gdkrectangle.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkrgba.c docs: standard names are CSS names, not X11 names 2021-10-27 22:12:58 +00:00
gdkrgba.h gdk: Dissolve gdk-autocleanup.h 2022-09-23 19:49:58 -04:00
gdkrgbaprivate.h rgba: Fix GDK_RGBA() macro to work with alpha 2022-02-08 01:34:19 +01:00
gdkseat.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdkseat.h gdk: Dissolve gdk-autocleanup.h 2022-09-23 19:49:58 -04:00
gdkseatdefault.c gdk/x11: Implement XI2.4 touchpad gesture support 2021-09-27 23:19:33 +03:00
gdkseatdefaultprivate.h Rename master and slave device 2020-06-18 19:22:20 +01:00
gdkseatprivate.h seat: improve api to take into account the tool type 2021-01-07 12:50:48 +01:00
gdksnapshot.c docs: Rework the gdk docs 2021-03-11 16:37:31 +00:00
gdksnapshot.h gdk: Dissolve gdk-autocleanup.h 2022-09-23 19:49:58 -04:00
gdksnapshotprivate.h snapshot: Turn into GObject 2018-03-18 19:21:33 +01:00
gdksurface.c Add more names to sources 2022-09-28 12:37:21 -04:00
gdksurface.h gdk: Always get shadow width via GdkToplevelSize 2020-12-07 09:46:39 +01:00
gdksurfaceprivate.h egl: Implement HDR support 2021-10-06 03:44:59 +02:00
gdktexture.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdktexture.h gdk: Dissolve gdk-autocleanup.h 2022-09-23 19:49:58 -04:00
gdktextureprivate.h gdk: Split enums from types 2021-10-26 20:59:37 +02:00
gdktoplevel.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdktoplevel.h g-i: add missing since annotations 2021-11-13 17:50:53 +01:00
gdktoplevellayout.c gdk: Clean up docs syntax 2021-05-22 17:25:26 -04:00
gdktoplevellayout.h gdk: Dissolve gdk-autocleanup.h 2022-09-23 19:49:58 -04:00
gdktoplevelprivate.h gdk/toplevel: Add gdk_toplevel_titlebar_gesture() 2021-07-29 21:39:32 +02:00
gdktoplevelsize.c toplevel-size: Report zero bounds as infinite 2022-09-30 09:31:40 +02:00
gdktoplevelsize.h docs: Remove duplicate documentation stanzas 2021-03-11 16:37:31 +00:00
gdktoplevelsizeprivate.h gdk/toplevelsize: Rename 'margin' to 'shadow' and 'shadow_width' 2020-12-07 20:37:29 +01:00
gdktypes.h gdk: Split enums from types 2021-10-26 20:59:37 +02:00
gdkversionmacros.h.in Add 4.10 version macros 2022-09-28 13:30:01 -04:00
gdkvulkancontext.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdkvulkancontext.h gdk: Dissolve gdk-autocleanup.h 2022-09-23 19:49:58 -04:00
gdkvulkancontextprivate.h Rename gdkdebug.h to gdkdebugprivate.h 2022-09-23 23:12:01 -04:00
gen-gdk-gresources-xml.py gdk: Remove unused gdk_gl_texture_quads() function 2021-10-06 03:44:36 +02:00
gen-keyname-table.pl gdk: Tweaks to keyname handling 2022-09-24 10:03:37 -04:00
keynames-translate.txt gdk: Translate some more key names 2017-10-09 20:33:14 +02:00
keynames.txt Fix key "Page_Down" identified as "Next" 2013-10-24 18:48:33 -04:00
keynamesprivate.h gdk: Tweaks to keyname handling 2022-09-24 10:03:37 -04:00
meson.build gdk: Cosmetics 2022-10-05 23:01:28 -04:00