mirror of
https://github.com/brl/mutter.git
synced 2024-12-26 21:02:14 +00:00
wayland: Do not trigger focus sync when destroying data offers
These objects are tied to the keyboard focus lifetime, but do not drive it in any way. There is likewise no need to synchronize Wayland focus when those are destroyed, that will be triggered through crossing events, surface destroy notifications, etc... Related: https://gitlab.gnome.org/GNOME/mutter/-/issues/2993 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3246>
This commit is contained in:
parent
7c8f1b4cc0
commit
a6bda759f9
@ -127,7 +127,6 @@ destroy_primary_offer (struct wl_resource *resource)
|
||||
offer->source = NULL;
|
||||
}
|
||||
|
||||
meta_display_sync_wayland_input_focus (display_from_offer (offer));
|
||||
g_free (offer);
|
||||
}
|
||||
|
||||
|
@ -236,7 +236,6 @@ destroy_data_offer (struct wl_resource *resource)
|
||||
offer->source = NULL;
|
||||
}
|
||||
|
||||
meta_display_sync_wayland_input_focus (display_from_offer (offer));
|
||||
g_free (offer);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user