aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/input/seat.h
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-10-19 07:57:50 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-10-19 08:00:13 +1000
commita2fdac2c4b81b6da95b914a5f65fb297cb8d4ce4 (patch)
treecc3e83eae5042db2ca75b063413d4d8403e79a7a /include/sway/input/seat.h
parentMerge pull request #2874 from ianyfan/swaybar (diff)
downloadsway-a2fdac2c4b81b6da95b914a5f65fb297cb8d4ce4.tar.gz
sway-a2fdac2c4b81b6da95b914a5f65fb297cb8d4ce4.tar.zst
sway-a2fdac2c4b81b6da95b914a5f65fb297cb8d4ce4.zip
Consider cursor warp when switching workspaces
Fixes a regression introduced in 24a90e5d86441fc345356eb3767e5a6880dcedbd. consider_warp_to_focus has been renamed to seat_consider_warp_to_focus, moved to seat.c and made public. It is now called when switching workspaces via `workspace <ws>`.
Diffstat (limited to 'include/sway/input/seat.h')
-rw-r--r--include/sway/input/seat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h
index b3b98e8d..eb0d1a02 100644
--- a/include/sway/input/seat.h
+++ b/include/sway/input/seat.h
@@ -203,4 +203,6 @@ void seat_end_mouse_operation(struct sway_seat *seat);
203void seat_pointer_notify_button(struct sway_seat *seat, uint32_t time_msec, 203void seat_pointer_notify_button(struct sway_seat *seat, uint32_t time_msec,
204 uint32_t button, enum wlr_button_state state); 204 uint32_t button, enum wlr_button_state state);
205 205
206void seat_consider_warp_to_focus(struct sway_seat *seat);
207
206#endif 208#endif