This commit is contained in:
taiyu 2015-08-28 11:14:59 -07:00
parent c9de300888
commit 28c22c8f80
2 changed files with 7 additions and 8 deletions

View file

@ -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;