aboutsummaryrefslogtreecommitdiff
path: root/sway/input_state.c
diff options
context:
space:
mode:
authortaiyu <taiyu.len@gmail.com>2015-08-28 11:03:10 -0700
committertaiyu <taiyu.len@gmail.com>2015-08-28 11:03:10 -0700
commit1820b3f0bb97406aefb51ef44f2c60b4f4fa5165 (patch)
tree30e7ed34d3bb3aa5df1aba0797ea7d2b54dbcdb1 /sway/input_state.c
parent4757ea6a1212dab6ee82421a20b152d1f16e44fb (diff)
move function redone
Diffstat (limited to 'sway/input_state.c')
-rw-r--r--sway/input_state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/input_state.c b/sway/input_state.c
index a7febc08..2743a9ea 100644
--- a/sway/input_state.c
+++ b/sway/input_state.c
@@ -297,6 +297,7 @@ void pointer_mode_update(void) {
&& !pointer_state.view->is_floating) {
// Swap them around
swap_container(pointer_state.view, initial.ptr);
+ swap_geometry(pointer_state.view, initial.ptr);
update_geometry(pointer_state.view);
update_geometry(initial.ptr);
// Set focus back to initial view