1
0
Fork 0

wayland: Don't explicitly repick on wl_surface destructor

As the crash at https://gitlab.gnome.org/GNOME/mutter/-/issues/1584
shows, this is already handled indirectly via the surface actor destruction
paths (especifically, through changes in its reactiveness). We don't
need repeating the operation here.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1654>
This commit is contained in:
Carlos Garnacho 2020-12-22 17:21:58 +01:00
parent 904d7fa798
commit 3d82da23ec

View file

@ -1368,8 +1368,6 @@ wl_surface_destructor (struct wl_resource *resource)
g_hash_table_destroy (surface->shortcut_inhibited_seats);
g_object_unref (surface);
meta_wayland_compositor_repick (compositor);
}
MetaWaylandSurface *