summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sway/layout.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/layout.c b/sway/layout.c
index a8ad7ed5..2de6da45 100644
--- a/sway/layout.c
+++ b/sway/layout.c
@@ -283,6 +283,7 @@ void move_container(swayc_t *container, enum movement_direction dir) {
283 sway_log(L_DEBUG, "container:%p, parent:%p, child %p,", 283 sway_log(L_DEBUG, "container:%p, parent:%p, child %p,",
284 container,parent,child); 284 container,parent,child);
285 if (parent->layout == layout 285 if (parent->layout == layout
286 || layout == L_NONE /* accept any layout for next/prev direction */
286 || (parent->layout == L_TABBED && layout == L_HORIZ) 287 || (parent->layout == L_TABBED && layout == L_HORIZ)
287 || (parent->layout == L_STACKED && layout == L_VERT) 288 || (parent->layout == L_STACKED && layout == L_VERT)
288 || is_auto_layout(parent->layout)) { 289 || is_auto_layout(parent->layout)) {