mirror of
https://github.com/brl/mutter.git
synced 2025-08-05 08:04:50 +00: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:
@@ -212,6 +212,8 @@ drag_grab_focus (MetaWaylandPointerGrab *grab,
|
||||
if (drag_grab->drag_focus == surface)
|
||||
return;
|
||||
|
||||
meta_wayland_pointer_set_focus (&seat->pointer, surface, FALSE);
|
||||
|
||||
if (drag_grab->drag_focus_data_device)
|
||||
{
|
||||
wl_data_device_send_leave (drag_grab->drag_focus_data_device);
|
||||
|
Reference in New Issue
Block a user