diff --git a/src/core/window.c b/src/core/window.c index d17f8838b..d69720a4d 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -1469,7 +1469,9 @@ meta_window_unmanage (MetaWindow *window, meta_topic (META_DEBUG_FOCUS, "Focusing default window since we're unmanaging %s\n", window->desc); - meta_workspace_focus_default_window (window->screen->active_workspace, NULL, timestamp); + meta_workspace_focus_default_window (window->screen->active_workspace, + window, + timestamp); } else {