summaryrefslogtreecommitdiffstats
path: root/sway/layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/layout.c')
-rw-r--r--sway/layout.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/layout.c b/sway/layout.c
index 1f423099..103ede52 100644
--- a/sway/layout.c
+++ b/sway/layout.c
@@ -515,8 +515,7 @@ swayc_t *get_swayc_in_direction_under(swayc_t *container, enum movement_directio
515 can_move = true; 515 can_move = true;
516 diff = target - self; 516 diff = target - self;
517 } 517 }
518 } 518 } else {
519 else {
520 if (dir == MOVE_LEFT || dir == MOVE_RIGHT) { 519 if (dir == MOVE_LEFT || dir == MOVE_RIGHT) {
521 if (parent->layout == L_HORIZ) { 520 if (parent->layout == L_HORIZ) {
522 can_move = true; 521 can_move = true;