From 410b37bc53c6e3760fb9dfbf93ac9b6516aa1c86 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Tue, 30 Sep 2014 17:15:48 +0200 Subject: [PATCH] wayland: Update focus window during DnD motion But don't emit crossing events, since the DnD grab is in effect. https://bugzilla.gnome.org/show_bug.cgi?id=728030 --- src/wayland/meta-wayland-data-device.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wayland/meta-wayland-data-device.c b/src/wayland/meta-wayland-data-device.c index 76fcb138a..4fbcf05c4 100644 --- a/src/wayland/meta-wayland-data-device.c +++ b/src/wayland/meta-wayland-data-device.c @@ -212,6 +212,8 @@ drag_grab_focus (MetaWaylandPointerGrab *grab, if (drag_grab->drag_focus == surface) return; + meta_wayland_pointer_set_focus (&seat->pointer, surface, FALSE); + if (drag_grab->drag_focus_data_device) { wl_data_device_send_leave (drag_grab->drag_focus_data_device);