From e1b1d94a4ed204d2e04fb581a63c6c2ccfae9014 Mon Sep 17 00:00:00 2001 From: Mykyta Holubakha Date: Fri, 5 Aug 2016 02:07:03 +0300 Subject: Arrange windows after swapping containers Fixes #833 --- sway/input_state.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sway/input_state.c') diff --git a/sway/input_state.c b/sway/input_state.c index 429b2f34..7e31d3d9 100644 --- a/sway/input_state.c +++ b/sway/input_state.c @@ -424,6 +424,8 @@ void pointer_mode_update(void) { update_geometry(initial.ptr); // Set focus back to initial view set_focused_container(initial.ptr); + // Arrange the windows + arrange_windows(&root_container, -1, -1); } break; -- cgit v1.2.3