From f1dc1a0cbc6defc7f3153d0dcfe68d330e85f1fd Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Tue, 11 Mar 2014 15:12:53 -0400 Subject: [PATCH] wayland: Fix drag grabs We need to have the seat here. This makes weston-dnd not crash when clicking on an item. --- src/wayland/meta-wayland-data-device.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wayland/meta-wayland-data-device.c b/src/wayland/meta-wayland-data-device.c index 352448ae9..11c329e73 100644 --- a/src/wayland/meta-wayland-data-device.c +++ b/src/wayland/meta-wayland-data-device.c @@ -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) {