[mutter/wip/dnd-surface2: 14/18] wayland: Unset local DnD surface if destroyed early during DnD



commit 9efd96be7b4b2d79fd8a7a9deff035b005797be2
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue Sep 30 17:05:22 2014 +0200

    wayland: Unset local DnD surface if destroyed early during DnD

 src/wayland/meta-wayland-data-device.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/wayland/meta-wayland-data-device.c b/src/wayland/meta-wayland-data-device.c
index 72595a9..2aebc14 100644
--- a/src/wayland/meta-wayland-data-device.c
+++ b/src/wayland/meta-wayland-data-device.c
@@ -379,6 +379,7 @@ destroy_data_device_icon (struct wl_listener *listener, void *data)
     wl_container_of (listener, drag_grab, drag_data_source_listener);
 
   drag_grab->drag_surface = NULL;
+  drag_grab_update_dnd_surface (drag_grab);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]