aboutsummaryrefslogtreecommitdiff
path: root/sway/input_state.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2016-08-04 19:58:52 -0400
committerGitHub <noreply@github.com>2016-08-04 19:58:52 -0400
commit76e5dffeaa41e62a8376e96f6b580290c77c6461 (patch)
treea76d57f87ed3082b608da41c47dbb2f884321ebe /sway/input_state.c
parentf773eb96a80d3da63a99cb3def43db6d0a0cf4d5 (diff)
parente1b1d94a4ed204d2e04fb581a63c6c2ccfae9014 (diff)
Merge pull request #834 from Hummer12007/swapfix
Arrange windows after swapping containers
Diffstat (limited to 'sway/input_state.c')
-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;