File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -2106,9 +2106,10 @@ namespace Gala {
21062106 continue ;
21072107 }
21082108
2109- unowned Meta . Window meta_window = window. get_meta_window ();
2109+ unowned Meta . Window ? meta_window = window. get_meta_window ();
21102110 if (! window. is_destroyed ()) {
2111- if (meta_window. get_window_type () == Meta . WindowType . NOTIFICATION ) {
2111+ if (meta_window != null
2112+ && meta_window. get_window_type () == Meta . WindowType . NOTIFICATION ) {
21122113 reparent_notification_window (actor, parents. nth_data (i));
21132114 } else {
21142115 clutter_actor_reparent (actor, parents. nth_data (i));
@@ -2119,7 +2120,8 @@ namespace Gala {
21192120
21202121 kill_window_effects (window);
21212122
2122- if (meta_window. get_workspace () != active_workspace
2123+ if (meta_window != null
2124+ && meta_window. get_workspace () != active_workspace
21232125 && ! meta_window. is_on_all_workspaces ())
21242126 window. hide ();
21252127
You can’t perform that action at this time.
0 commit comments