aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree/layout.c
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-05-31 12:07:54 -0400
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-05-31 12:07:54 -0400
commite13c94f2dd375fee943bf676ab65ecf2b7cffbde (patch)
tree7e478c7774d2ce0f3a03b15e4c6c49049ff66b1d /sway/tree/layout.c
parentFix moving out of tab/stack when only child (diff)
downloadsway-e13c94f2dd375fee943bf676ab65ecf2b7cffbde.tar.gz
sway-e13c94f2dd375fee943bf676ab65ecf2b7cffbde.tar.zst
sway-e13c94f2dd375fee943bf676ab65ecf2b7cffbde.zip
Fix typo
Diffstat (limited to 'sway/tree/layout.c')
-rw-r--r--sway/tree/layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/layout.c b/sway/tree/layout.c
index 6ee8b33b..b175f567 100644
--- a/sway/tree/layout.c
+++ b/sway/tree/layout.c
@@ -315,7 +315,7 @@ static void move_out_of_tabs_stacks(struct sway_container *container,
315 if (container->parent == current->parent 315 if (container->parent == current->parent
316 && current->parent->children->length == 1) { 316 && current->parent->children->length == 1) {
317 wlr_log(L_DEBUG, "Changing layout of %zd", current->parent->id); 317 wlr_log(L_DEBUG, "Changing layout of %zd", current->parent->id);
318 current->parent->layout = move_dir = 318 current->parent->layout = move_dir ==
319 MOVE_LEFT || move_dir == MOVE_RIGHT ? L_HORIZ : L_VERT; 319 MOVE_LEFT || move_dir == MOVE_RIGHT ? L_HORIZ : L_VERT;
320 if (current->parent->type == C_WORKSPACE) { 320 if (current->parent->type == C_WORKSPACE) {
321 arrange_workspace(current->parent); 321 arrange_workspace(current->parent);