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:
Carlos Garnacho 2023-09-05 16:34:15 +02:00 committed by Robert Mader
parent 7c8f1b4cc0
commit a6bda759f9
2 changed files with 0 additions and 2 deletions

View File

@ -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);
}

View File

@ -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);
}