diff --git a/src/core/window.c b/src/core/window.c index 870ce5b49..63133308d 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -7399,6 +7399,9 @@ void meta_window_set_focused_internal (MetaWindow *window, gboolean focused) { + if (window->unmanaging) + return; + if (focused) { window->has_focus = TRUE;