mirror of
https://github.com/swaywm/sway.git
synced 2025-11-06 13:29:50 -05:00
Fix issue with incorrectly rejiggered workspaces
This commit is contained in:
parent
9109b1fd11
commit
df0d57b916
2 changed files with 15 additions and 6 deletions
|
|
@ -334,9 +334,12 @@ void container_move(struct sway_container *container,
|
|||
}
|
||||
case C_WORKSPACE:
|
||||
if (!is_parallel(current->layout, move_dir)) {
|
||||
// Special case
|
||||
wlr_log(L_DEBUG, "Rejiggering the workspace");
|
||||
workspace_rejigger(current, container, move_dir);
|
||||
if (current->children->length != 1) {
|
||||
// Special case
|
||||
wlr_log(L_DEBUG, "Rejiggering the workspace (%d kiddos)",
|
||||
current->children->length);
|
||||
workspace_rejigger(current, container, move_dir);
|
||||
}
|
||||
return;
|
||||
} else {
|
||||
wlr_log(L_DEBUG, "Selecting output");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue