libwayland-server was changed to emit the new drag icon signal instead
of faking an attach event with a NULL buffer so this has to be done on
this side.
---
 src/compositor.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/compositor.c b/src/compositor.c
index f4c933e..f96d675 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -2436,6 +2436,9 @@ device_setup_new_drag_surface(struct weston_seat *ws,
 static void
 device_release_drag_surface(struct weston_seat *seat)
 {
+       if (weston_surface_is_mapped(seat->drag_surface))
+               weston_surface_unmap(seat->drag_surface);
+
        seat->drag_surface->configure = NULL;
        empty_region(&seat->drag_surface->pending.input);
        wl_list_remove(&seat->drag_surface_destroy_listener.link);
-- 
1.7.9.5

_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to