mutter/src
Marco Trevisan (Treviño) 2e64457f4c compositor: Destroy window actors list on destruction
When the compositor is destroyed we should cleanup the list of window actors we
created and destroy them.
Since all the actors are added to the window_group or top_window_group we can
just destroy these containers (together with the feedback_group), and simply
free the windows list.

This is particularly needed under X11 because before we destroy the display, we
might do some cleanups as detaching the surface pixmaps and freeing the damages
and if this happens at later point (for example when triggered by garbage
collector in gnome-shell), we might crash because the x11 dpy reference is
already gone.

Destroying the window actors instead, ensures we avoid any further call to X11
related functions and that we release the actors XServer resources.

Fixes https://gitlab.gnome.org/GNOME/mutter/issues/576


(cherry picked from commit 7718e67f5c)
2019-05-03 18:31:34 +00:00
..
backends renderer/native: Also wrap flip closures for EGLStreams 2018-10-23 18:33:53 +02:00
compositor compositor: Destroy window actors list on destruction 2019-05-03 18:31:34 +00:00
core window/wayland: Don't initialize a window as showing 2019-01-24 00:05:05 +00:00
meta build: Introspect some more types 2018-05-07 22:06:02 +02:00
tests tests: Add "closed-transient" test 2018-07-30 20:29:03 +02:00
ui frames: Allow for unknown mouse buttons 2018-05-25 11:35:45 +02:00
wayland wayland: Remove unused GList *l 2019-05-03 16:54:22 +00:00
x11 x11/window-props: Do not convert WM_NAME 2019-01-24 00:00:33 +00:00
.cvsignore Install desktop files in both .../share/applications and 2008-09-12 04:05:17 +00:00
libmutter.pc.in Make libmutter and friends parallel installable 2017-02-14 11:16:45 +08:00
Makefile-tests.am tests: Add "closed-transient" test 2018-07-30 20:29:03 +02:00
Makefile.am build: Adjust to filename changes 2018-05-07 22:29:42 +02:00
meta-enum-types.c.in Install enum types 2015-07-05 22:01:59 -07:00
meta-enum-types.h.in Install enum types 2015-07-05 22:01:59 -07:00
org.freedesktop.login1.xml MetaLauncher: Don't g_error() on failure 2015-11-06 17:03:59 -05:00
org.gnome.Mutter.DisplayConfig.xml DisplayConfig: Add 'legacy-ui-scaling-factor' property 2017-10-12 17:42:52 +08:00
org.gnome.Mutter.IdleMonitor.xml idle-monitor: Add ResetIdletime API, for testing purposes 2018-04-16 16:03:56 +02:00
org.gnome.Mutter.RemoteDesktop.xml remote-desktop, screen-cast: Add version number to D-Bus APIs 2018-02-23 19:33:31 +08:00
org.gnome.Mutter.ScreenCast.xml remote-desktop, screen-cast: Add version number to D-Bus APIs 2018-02-23 19:33:31 +08:00