diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2018-10-19 07:57:50 +1000 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2018-10-19 07:57:50 +1000 |
| commit | b06711626960bab4e78cef27e44f004bc8c46b0a (patch) | |
| tree | cc3e83eae5042db2ca75b063413d4d8403e79a7a /include | |
| parent | a0e8618dfddc6a16955097c38bbbbb894e417dfd (diff) | |
Consider cursor warp when switching workspaces
Fixes a regression introduced in
7ad3daaabef750af13acc109250aafc4b4852b8f.
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')
| -rw-r--r-- | include/sway/input/seat.h | 2 |
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); 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 |
