From 2b0e3c212a6c269b68879ba6c2d84ebedd5938e1 Mon Sep 17 00:00:00 2001 From: wil Date: Thu, 22 Dec 2016 21:18:15 +0100 Subject: [PATCH] [fix] move next/prev behavior for vert/horiz layout --- sway/layout.c | 1 + 1 file changed, 1 insertion(+) 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) { sway_log(L_DEBUG, "container:%p, parent:%p, child %p,", container,parent,child); if (parent->layout == layout + || layout == L_NONE /* accept any layout for next/prev direction */ || (parent->layout == L_TABBED && layout == L_HORIZ) || (parent->layout == L_STACKED && layout == L_VERT) || is_auto_layout(parent->layout)) {