compositor: assign output to drag surfaces
Otherwise we endup with a surface that is mapped but with outtup nil.
This commit is contained in:
parent
ba727bd1d9
commit
a2f1129d13
@ -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…
Reference in New Issue
Block a user