mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
wayland: Update focus window during DnD motion
But don't emit crossing events, since the DnD grab is in effect. https://bugzilla.gnome.org/show_bug.cgi?id=728030
This commit is contained in:
parent
6dfdc6d6ec
commit
410b37bc53
@ -212,6 +212,8 @@ drag_grab_focus (MetaWaylandPointerGrab *grab,
|
|||||||
if (drag_grab->drag_focus == surface)
|
if (drag_grab->drag_focus == surface)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
meta_wayland_pointer_set_focus (&seat->pointer, surface, FALSE);
|
||||||
|
|
||||||
if (drag_grab->drag_focus_data_device)
|
if (drag_grab->drag_focus_data_device)
|
||||||
{
|
{
|
||||||
wl_data_device_send_leave (drag_grab->drag_focus_data_device);
|
wl_data_device_send_leave (drag_grab->drag_focus_data_device);
|
||||||
|
Loading…
Reference in New Issue
Block a user