[mutter/wip/carlosg/crossings: 1/11] wayland: Don't explicitly repick on wl_surface destructor
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/carlosg/crossings: 1/11] wayland: Don't explicitly repick on wl_surface destructor
- Date: Wed, 23 Dec 2020 12:12:59 +0000 (UTC)
commit 3d82da23ec8359dd29d64d1e92c67ed6eb32b413
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Dec 22 17:21:58 2020 +0100
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>
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 91684cc52b..0f0c55b1c7 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 *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]