mirror of
https://github.com/brl/mutter.git
synced 2024-12-24 20:12:06 +00:00
window: Always set workspace state while constructing
set_workspace_state () returns early when the desired sticky state and workspace match the current property values, assuming that the corresponding MRU lists are already correct in that case. However that might not be the case when we are setting the initial state, so don't take the shortcut in that case. https://bugzilla.gnome.org/show_bug.cgi?id=737178
This commit is contained in:
parent
2eec11b445
commit
1e1ca47ec1
@ -4311,7 +4311,8 @@ set_workspace_state (MetaWindow *window,
|
||||
g_return_if_fail ((window->constructing && on_all_workspaces) || window->unmanaging);
|
||||
|
||||
if (on_all_workspaces == window->on_all_workspaces &&
|
||||
workspace == window->workspace)
|
||||
workspace == window->workspace &&
|
||||
!window->constructing)
|
||||
return;
|
||||
|
||||
if (window->workspace)
|
||||
|
Loading…
Reference in New Issue
Block a user