summaryrefslogtreecommitdiff
path: root/sway/layout.c
diff options
context:
space:
mode:
authortaiyu <[email protected]>2015-08-28 11:14:59 -0700
committertaiyu <[email protected]>2015-08-28 11:14:59 -0700
commit28c22c8f8044355ffe89328b1af75a7e36b8dfea (patch)
treef1cc2f6f04aa021fa21ceaa4ab0753066f5ff239 /sway/layout.c
parentc9de300888b9aac16f909790b203c2b45a751baf (diff)
style
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;