gtk/gdk/wayland
Carlos Garnacho 2923f69d3c gdkdnd: Add private means to commit the drag status
The way gdk_drag_status() may be called multiple times during the
processing of drag and drop events throughout the widget hierarchy
brings some superfluous messaging going in, esp. when it's the last
request the one we want to honor, yet we emit messaging requests on
all.

This is barely appreciable in the X11 backend, but due to the design
of the wayland protocol, quick series of changes like this it have
some self-amplificating consequences which may end up flooding the
connection.

We can delegate this to a late "commit" call, performed within GDK
event management. This way gdk_drag_status() calls may be cached
and only result in windowing messaging once per ::drag-motion or
::drag-data-received event. Emitting the final status will also
avoid spurious action changes on the compositor and the other peer.

https://bugzilla.gnome.org/show_bug.cgi?id=763298
2016-03-14 16:50:36 +01:00
..
protocol wayland: Add request focus support via gtk_shell 2016-03-10 12:31:15 +08:00
gdkapplaunchcontext-wayland.c wayland: Formatting fixes 2015-02-28 00:02:30 -05:00
gdkcursor-wayland.c wayland: don't handle buffer release centrally 2016-02-06 08:02:57 -05:00
gdkdevice-wayland.c wayland: Clean up key repeat timeout 2016-03-04 13:56:26 -05:00
gdkdisplay-wayland.c wayland: Add system bell support via gtk_shell 2016-03-10 12:31:15 +08:00
gdkdisplay-wayland.h wayland: Don't invent our own unstable protocol semantics 2016-03-10 12:31:15 +08:00
gdkdnd-wayland.c gdkdnd: Add private means to commit the drag status 2016-03-14 16:50:36 +01:00
gdkeventsource.c wayland: Formatting fixes 2015-02-28 00:02:30 -05:00
gdkglcontext-wayland.c wayland: Don't use g_print for debug output 2016-02-28 21:40:23 -05:00
gdkglcontext-wayland.h gl: Drop profile for gdk_window_create_gl_context() 2015-02-12 12:34:28 +00:00
gdkkeys-wayland.c wayland: Translate virtual modifiers too 2015-11-14 23:26:11 -05:00
gdkprivate-wayland.h wayland: Don't invent our own unstable protocol semantics 2016-03-10 12:31:15 +08:00
gdkscreen-wayland.c wayland: Don't invent our own unstable protocol semantics 2016-03-10 12:31:15 +08:00
gdkseat-wayland.h wayland: Add GdkSeat implementation 2015-12-15 00:40:21 +01:00
gdkselection-wayland.c wayland: Make data_source_target() an empty stub 2016-03-09 18:39:16 +01:00
gdkwayland.h wayland: Formatting fixes 2015-02-28 00:02:30 -05:00
gdkwaylanddevice.h wayland: Add GdkSeat implementation 2015-12-15 00:40:21 +01:00
gdkwaylanddisplay.h
gdkwaylandglcontext.h GL: Follow naming conventions 2014-10-21 23:48:12 -04:00
gdkwaylandselection.h Drop gdk_wayland_drag_context_get_dnd_window 2015-12-02 00:47:53 -05:00
gdkwaylandwindow.h
gdkwindow-wayland.c wayland: Add request focus support via gtk_shell 2016-03-10 12:31:15 +08:00
Makefile.am wayland: Add gtk-primary-selection protocol 2016-02-26 19:59:17 +01:00
wm-button-layout-translation.c wayland: Set gtk-decoration-layout 2014-06-06 15:32:59 +02:00
wm-button-layout-translation.h wayland: Set gtk-decoration-layout 2014-06-06 15:32:59 +02:00