gtk2/gdk/wayland
Christophe Fergeau ff3da0818c wayland: emit GDK_SELECTION_CLEAR on owner changes
The wayland backend currently never emits GDK_SELECTION_CLEAR events.
GtkClipboard uses this signal in order to clear the clipboard owner when
the selection is set to something outside the application.
This commit ensures the wayland backend emits GDK_SELECTION_CLEAR before
setting the clipboard owner to NULL, as this means we lost the
selection.

Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>

https://bugzilla.gnome.org/show_bug.cgi?id=790031
2017-11-29 11:29:30 +01:00
..
protocol Wayland: Implement KDE's SSD protocol 2017-10-26 15:51:56 -04:00
gdkapplaunchcontext-wayland.c Drop gdk_app_launch_context_set_screen 2017-10-30 23:01:34 -04:00
gdkcursor-wayland.c wayland: Fix embarassing bug 2017-11-05 00:07:18 +01:00
gdkdevice-wayland.c gdk/wayland: Emit GdkSeat::device-added/removed 2017-11-27 19:51:38 +01:00
gdkdisplay-wayland.c wayland: Don't provide gsetting if dconf is not available 2017-11-26 19:40:28 -05:00
gdkdisplay-wayland.h wayland: Drop GdkWaylandDeviceManager 2017-11-25 11:04:15 -05:00
gdkdnd-wayland.c gdk: Sanitize GdkContentFormats API 2017-11-20 23:15:11 +01:00
gdkeventsource.c wayland: Don't warn if the display is lost, skip exit handlers 2017-05-30 09:15:57 +02:00
gdkglcontext-wayland.c Work around a wayland crash 2017-03-30 09:15:29 -04:00
gdkglcontext-wayland.h Stop including gdkmain.h 2017-11-17 00:16:09 -05:00
gdkkeys-wayland.c build: Enable -Wswitch-enum and -Wswitch-default 2017-10-06 21:23:39 +02:00
gdkmonitor-wayland.c wayland: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkmonitor-wayland.h wayland: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkprivate-wayland.h wayland: Drop GdkWaylandDeviceManager 2017-11-25 11:04:15 -05:00
gdkseat-wayland.h wayland: Remove GdkWaylandDataDevice typedef 2016-03-21 17:15:59 +01:00
gdkselection-wayland.c wayland: emit GDK_SELECTION_CLEAR on owner changes 2017-11-29 11:29:30 +01:00
gdkvulkancontext-wayland.c vulkan: Use LGPL v2 2017-01-04 16:02:44 -02:00
gdkvulkancontext-wayland.h vulkan: Use LGPL v2 2017-01-04 16:02:44 -02:00
gdkwayland.h selection: Remove #ifdef WAYLAND 2017-11-15 19:07:16 +01:00
gdkwaylanddevice.h wayland: Drop GdkWaylandDeviceManager 2017-11-25 11:04:15 -05:00
gdkwaylanddisplay.h Wayland: Implement KDE's SSD protocol 2017-10-26 15:51:56 -04:00
gdkwaylandglcontext.h GL: Follow naming conventions 2014-10-21 23:48:12 -04:00
gdkwaylandmonitor.h wayland: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkwaylandwindow.h gdkwindow: Remove event_mask arguments from constructors 2017-11-13 23:41:38 +01:00
gdkwindow-wayland.c wayland: Intern signal names 2017-11-17 23:22:02 -05:00
genprotocolfiles.py build: Clean up Wayland protocol code generation 2017-05-03 15:10:57 +01:00
meson.build selection: Remove #ifdef WAYLAND 2017-11-15 19:07:16 +01:00
wm-button-layout-translation.c build: Don't turn off critical warnings 2017-10-06 16:03:08 +02:00
wm-button-layout-translation.h gdk: Relicense translate_wm_button_layout_to_gtk() 2017-04-27 21:05:12 +02:00