From a2fdac2c4b81b6da95b914a5f65fb297cb8d4ce4 Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Fri, 19 Oct 2018 07:57:50 +1000 Subject: 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 `. --- include/sway/input/seat.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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); void seat_pointer_notify_button(struct sway_seat *seat, uint32_t time_msec, uint32_t button, enum wlr_button_state state); +void seat_consider_warp_to_focus(struct sway_seat *seat); + #endif -- cgit v1.2.3-70-g09d2