mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-04 13:29:51 -05:00
data-device: Take away pointer focus when we start a dnd drag
This commit is contained in:
parent
a9f951b003
commit
677c5180e6
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue