diff --git a/src/core/window.c b/src/core/window.c index b8d67347e..c5f6fa5cd 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -1272,7 +1272,7 @@ _meta_window_shared_new (MetaDisplay *display, window->desc, window->transient_for->desc); set_workspace_state (window, - should_be_on_all_workspaces (window->transient_for), + window->transient_for->on_all_workspaces, window->transient_for->workspace); } else if (window->on_all_workspaces)