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/layout.c | |
parent | Prepare arrange code for type safe arguments (diff) | |
download | sway-126a82f14ff47925c7f88523ed9abe0ae9aeb7e8.tar.gz sway-126a82f14ff47925c7f88523ed9abe0ae9aeb7e8.tar.zst sway-126a82f14ff47925c7f88523ed9abe0ae9aeb7e8.zip |
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/layout.c')
-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) { | |||
103 | parent->prev_split_layout = prev; | 103 | parent->prev_split_layout = prev; |
104 | } | 104 | } |
105 | container_notify_subtree_changed(parent); | 105 | container_notify_subtree_changed(parent); |
106 | arrange_windows(parent); | 106 | arrange_windows(parent->parent); |
107 | } | 107 | } |
108 | 108 | ||
109 | return cmd_results_new(CMD_SUCCESS, NULL, NULL); | 109 | return cmd_results_new(CMD_SUCCESS, NULL, NULL); |