mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
workspace-manager: Allow workspace layout to be overridden
meta_workspace_manager_override_workspace_layout is implemented by calling meta_workspace_manager_update_workspace_layout which respects the workspace_layout_overridden flag. After the first call to meta_workspace_manager_override_workspace_layout all subsequent calls fail silently. Reset workspace_layout_overridden to FALSE before calling meta_workspace_manager_update_workspace_layout. https://gitlab.gnome.org/GNOME/mutter/issues/270
This commit is contained in:
parent
4282067e24
commit
92cccf53df
@ -496,6 +496,8 @@ meta_workspace_manager_override_workspace_layout (MetaWorkspaceManager *workspac
|
|||||||
int n_rows,
|
int n_rows,
|
||||||
int n_columns)
|
int n_columns)
|
||||||
{
|
{
|
||||||
|
workspace_manager->workspace_layout_overridden = FALSE;
|
||||||
|
|
||||||
meta_workspace_manager_update_workspace_layout (workspace_manager,
|
meta_workspace_manager_update_workspace_layout (workspace_manager,
|
||||||
starting_corner,
|
starting_corner,
|
||||||
vertical_layout,
|
vertical_layout,
|
||||||
|
Loading…
Reference in New Issue
Block a user