From 126a82f14ff47925c7f88523ed9abe0ae9aeb7e8 Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Tue, 28 Aug 2018 23:53:51 +1000 Subject: 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 --- sway/commands/layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sway/commands') 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); -- cgit v1.2.3