aboutsummaryrefslogtreecommitdiff
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
can_move = true;
diff = target - self;
}
- }
- else {
+ } else {
if (dir == MOVE_LEFT || dir == MOVE_RIGHT) {
if (parent->layout == L_HORIZ) {
can_move = true;