[PATCH 2/2] compositor: assign output to drag surfaces
Ander Conselvan de Oliveira
conselvan2 at gmail.com
Thu Feb 23 03:29:26 PST 2012
Otherwise we endup with a surface that is mapped but with outtup nil.
---
src/compositor.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/compositor.c b/src/compositor.c
index 5a424fa..97f7c3e 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -1797,6 +1797,7 @@ weston_input_update_drag_surface(struct wl_input_device *input_device,
device->drag_surface->buffer) {
wl_list_insert(weston_compositor_top(device->compositor),
&device->drag_surface->link);
+ weston_surface_assign_output(device->drag_surface);
}
if (!dx && !dy)
--
1.7.5.4
More information about the wayland-devel
mailing list