From 677c5180e67be18b7a0867fafb7f205b57a6e9ff Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Fri, 13 Apr 2012 12:51:40 -0400 Subject: [PATCH] data-device: Take away pointer focus when we start a dnd drag --- src/data-device.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/data-device.c b/src/data-device.c index e850f6e..46e5549 100644 --- a/src/data-device.c +++ b/src/data-device.c @@ -324,6 +324,8 @@ data_device_start_drag(struct wl_client *client, struct wl_resource *resource, wl_signal_emit(&device->drag_icon_signal, icon_resource); } + wl_input_device_set_pointer_focus(device, NULL, 0, 0); + wl_input_device_start_pointer_grab(device, &device->drag_grab); } -- 2.7.4