[mutter/wayland] wayland: Fix drag grabs



commit f1dc1a0cbc6defc7f3153d0dcfe68d330e85f1fd
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Mar 11 15:12:53 2014 -0400

    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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/wayland/meta-wayland-data-device.c b/src/wayland/meta-wayland-data-device.c
index 352448a..11c329e 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)
     {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]