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:
Jasper St. Pierre 2014-03-11 15:12:53 -04:00
parent 2cf80bc647
commit f1dc1a0cbc

View File

@ -332,6 +332,7 @@ data_device_start_drag (struct wl_client *client,
drag_grab->generic.pointer = &seat->pointer; drag_grab->generic.pointer = &seat->pointer;
drag_grab->drag_client = client; drag_grab->drag_client = client;
drag_grab->seat = seat;
if (source_resource) if (source_resource)
{ {