[mutter/wip/dnd-surface2: 18/18] wayland: Update focus window during DnD motion
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/dnd-surface2: 18/18] wayland: Update focus window during DnD motion
- Date: Tue, 30 Sep 2014 15:36:39 +0000 (UTC)
commit 410b37bc53c6e3760fb9dfbf93ac9b6516aa1c86
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Sep 30 17:15:48 2014 +0200
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 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 76fcb13..4fbcf05 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]