diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-08-28 23:53:51 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-08-28 23:53:51 +1000 |
commit | 126a82f14ff47925c7f88523ed9abe0ae9aeb7e8 (patch) | |
tree | 7cdac6c37f6ad87c056690bdeac3d5ea0489668d /sway/commands | |
parent | f5b9815128b6c000bb5d47c339480fa481a5e99d (diff) | |
download | sway-126a82f14ff47925c7f88523ed9abe0ae9aeb7e8.tar.xz |
Fix gaps issues
* In layout command, arrange parent of parent - not sure why this is
needed but it is
* Remove gap adjustment when rendering
* Workspace should use outer gaps, not inner
* Add exceptions for tabbed and stacked containers
* Don't mess with gap state when splitting a container
Diffstat (limited to 'sway/commands')
-rw-r--r-- | sway/commands/layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/layout.c b/sway/commands/layout.c index f4e4dda9..a06832de 100644 --- a/sway/commands/layout.c +++ b/sway/commands/layout.c @@ -103,7 +103,7 @@ struct cmd_results *cmd_layout(int argc, char **argv) { parent->prev_split_layout = prev; } container_notify_subtree_changed(parent); - arrange_windows(parent); + arrange_windows(parent->parent); } return cmd_results_new(CMD_SUCCESS, NULL, NULL); |