diff options
author | Mykyta Holubakha <hilobakho@gmail.com> | 2016-08-05 02:07:03 +0300 |
---|---|---|
committer | Mykyta Holubakha <hilobakho@gmail.com> | 2016-08-05 02:07:03 +0300 |
commit | e1b1d94a4ed204d2e04fb581a63c6c2ccfae9014 (patch) | |
tree | a76d57f87ed3082b608da41c47dbb2f884321ebe | |
parent | f773eb96a80d3da63a99cb3def43db6d0a0cf4d5 (diff) |
Arrange windows after swapping containers
Fixes #833
-rw-r--r-- | sway/input_state.c | 2 |
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; |