summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2020-12-22 17:21:58 +0100
committerCarlos Garnacho <carlosg@gnome.org>2020-12-22 18:27:37 +0100
commit3d82da23ec8359dd29d64d1e92c67ed6eb32b413 (patch)
treef6d86b38e8270918c6025737a258b991ea5457d6
parent904d7fa79899066865c6c9bf1a73762b6158ada8 (diff)
downloadmutter-3d82da23ec8359dd29d64d1e92c67ed6eb32b413.tar.gz
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>
-rw-r--r--src/wayland/meta-wayland-surface.c2
1 files changed, 0 insertions, 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 *