aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMykyta Holubakha <hilobakho@gmail.com>2016-08-05 02:07:03 +0300
committerMykyta Holubakha <hilobakho@gmail.com>2016-08-05 02:07:03 +0300
commite1b1d94a4ed204d2e04fb581a63c6c2ccfae9014 (patch)
treea76d57f87ed3082b608da41c47dbb2f884321ebe
parentf773eb96a80d3da63a99cb3def43db6d0a0cf4d5 (diff)
Arrange windows after swapping containers
Fixes #833
-rw-r--r--sway/input_state.c2
1 files changed, 2 insertions, 0 deletions
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;