compositor: assign output to drag surfaces

Otherwise we endup with a surface that is mapped but with outtup nil.
Ander Conselvan de Oliveira 13 years ago committed by Kristian Høgsberg
parent ba727bd1d9
commit a2f1129d13
  1. 1
      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)

Loading…
Cancel
Save