diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2014-09-30 17:15:48 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2014-09-30 17:34:32 +0200 |
commit | 410b37bc53c6e3760fb9dfbf93ac9b6516aa1c86 (patch) | |
tree | 4961daf875878e595cd20adb81f225b4edc45077 | |
parent | 6dfdc6d6ec8ab917c5959986d216310e059db6f9 (diff) | |
download | mutter-wip/dnd-surface2.tar.gz |
wayland: Update focus window during DnD motionwip/dnd-surface2
But don't emit crossing events, since the DnD grab is in effect.
https://bugzilla.gnome.org/show_bug.cgi?id=728030
-rw-r--r-- | src/wayland/meta-wayland-data-device.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |