From c9de300888b9aac16f909790b203c2b45a751baf Mon Sep 17 00:00:00 2001 From: taiyu Date: Fri, 28 Aug 2015 11:11:26 -0700 Subject: layout fix for a certain case --- sway/layout.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sway/layout.c b/sway/layout.c index 74efc56c..1f423099 100644 --- a/sway/layout.c +++ b/sway/layout.c @@ -259,6 +259,8 @@ void move_container(swayc_t *container, enum movement_direction dir) { return; } } + // Dirty hack to fix a certain case + arrange_windows(parent, -1, -1); arrange_windows(parent->parent, -1, -1); update_visibility(parent->parent); set_focused_container_for(parent->parent, container); -- cgit v1.2.3-54-g00ecf