gnome-shell/js
Jonas Dreßler 96dc6d19dd windowManager: Check whether metaWindow is NULL after destroy animation
When logging out or terminating gnome-shell, mutter will unmanage all
open windows, triggering the window-close animation in gnome-shell and
very quickly after that emitting "kill-window-effects". That means we'll
call _destroyWindowDone() to cleanup our animation data, but at this
point the MetaWindow of the window is already gone, so we get an error
that get_meta_window() returns NULL.

Fix that by checking whether get_meta_window() returned NULL and if it
did, don't access the window.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2018

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1483>
2020-11-21 23:40:53 +01:00
..
dbusServices cleanup: Remove empty leading/trailing lines in blocks 2020-11-16 18:04:23 +00:00
gdm authPrompt: set value of beginRequestType to 'DONT_PROVIDE_USERNAME' 2020-09-23 15:42:51 +00:00
misc cleanup: Remove empty leading/trailing lines in blocks 2020-11-16 18:04:23 +00:00
perf perf: Add basic run tests 2020-08-12 15:43:39 +00:00
portalHelper js: Don't use templates in files with translations 2020-02-17 23:20:40 +01:00
ui windowManager: Check whether metaWindow is NULL after destroy animation 2020-11-21 23:40:53 +01:00
js-resources.gresource.xml perf: Add basic run tests 2020-08-12 15:43:39 +00:00
meson.build extensions-app: Move Extensions app to new subproject 2020-03-27 23:33:30 +00:00
portal-resources.gresource.xml js: Remove unused files from resources 2020-03-09 13:18:48 +00:00