mirror of
https://github.com/brl/mutter.git
synced 2025-02-04 15:44:10 +00:00
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:
parent
904d7fa798
commit
3d82da23ec
@ -1368,8 +1368,6 @@ wl_surface_destructor (struct wl_resource *resource)
|
|||||||
g_hash_table_destroy (surface->shortcut_inhibited_seats);
|
g_hash_table_destroy (surface->shortcut_inhibited_seats);
|
||||||
|
|
||||||
g_object_unref (surface);
|
g_object_unref (surface);
|
||||||
|
|
||||||
meta_wayland_compositor_repick (compositor);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
MetaWaylandSurface *
|
MetaWaylandSurface *
|
||||||
|
Loading…
x
Reference in New Issue
Block a user