mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
workspace-manager, x11-display: Default to a single row
This seems to have been the default in the past, but was (accidentally?) modified
by 8adab0275
.
For GNOME 40, we'll be returning to our root with horizontal workspaces, so instead
of overriding it in GNOME Shell side, change the default back to what it once was.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1684>
This commit is contained in:
@ -243,8 +243,8 @@ meta_workspace_manager_new (MetaDisplay *display)
|
|||||||
meta_workspace_manager_update_workspace_layout (workspace_manager,
|
meta_workspace_manager_update_workspace_layout (workspace_manager,
|
||||||
META_DISPLAY_TOPLEFT,
|
META_DISPLAY_TOPLEFT,
|
||||||
FALSE,
|
FALSE,
|
||||||
-1,
|
1,
|
||||||
1);
|
-1);
|
||||||
|
|
||||||
/* There must be at least one workspace at all times,
|
/* There must be at least one workspace at all times,
|
||||||
* so create that required workspace.
|
* so create that required workspace.
|
||||||
|
@ -2164,8 +2164,8 @@ meta_x11_display_update_workspace_layout (MetaX11Display *x11_display)
|
|||||||
{
|
{
|
||||||
MetaWorkspaceManager *workspace_manager = x11_display->display->workspace_manager;
|
MetaWorkspaceManager *workspace_manager = x11_display->display->workspace_manager;
|
||||||
gboolean vertical_layout = FALSE;
|
gboolean vertical_layout = FALSE;
|
||||||
int n_rows = -1;
|
int n_rows = 1;
|
||||||
int n_columns = 1;
|
int n_columns = -1;
|
||||||
MetaDisplayCorner starting_corner = META_DISPLAY_TOPLEFT;
|
MetaDisplayCorner starting_corner = META_DISPLAY_TOPLEFT;
|
||||||
uint32_t *list;
|
uint32_t *list;
|
||||||
int n_items;
|
int n_items;
|
||||||
|
Reference in New Issue
Block a user