From 3d82da23ec8359dd29d64d1e92c67ed6eb32b413 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Tue, 22 Dec 2020 17:21:58 +0100 Subject: [PATCH] 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: --- src/wayland/meta-wayland-surface.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c index 91684cc52..0f0c55b1c 100644 --- a/src/wayland/meta-wayland-surface.c +++ b/src/wayland/meta-wayland-surface.c @@ -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 *