mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
gdk/wayland: Do not use xdg_wm_base.ping serials as "user input" serials
Ping/pong serials are not meant to be interpreted as user input serials (e.g. those given back later to the compositor on grabs). As a matter of fact, Mutter uses a different count (i.e. timestamps) in these, so using these serials may confuse the compositor into denying certain operations like DnD.
This commit is contained in:
parent
9c1a41052b
commit
c5ac80be2b
@ -130,10 +130,6 @@ xdg_wm_base_ping (void *data,
|
||||
struct xdg_wm_base *xdg_wm_base,
|
||||
uint32_t serial)
|
||||
{
|
||||
GdkWaylandDisplay *display_wayland = data;
|
||||
|
||||
_gdk_wayland_display_update_serial (display_wayland, serial);
|
||||
|
||||
GDK_NOTE (EVENTS,
|
||||
g_message ("ping, shell %p, serial %u\n", xdg_wm_base, serial));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user