wayland: Fix drag grabs
We need to have the seat here. This makes weston-dnd not crash when clicking on an item.
This commit is contained in:
parent
2cf80bc647
commit
f1dc1a0cbc
@ -332,6 +332,7 @@ data_device_start_drag (struct wl_client *client,
|
||||
drag_grab->generic.pointer = &seat->pointer;
|
||||
|
||||
drag_grab->drag_client = client;
|
||||
drag_grab->seat = seat;
|
||||
|
||||
if (source_resource)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user