aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-10-19 02:49:13 +0200
committerGitHub <noreply@github.com>2018-10-19 02:49:13 +0200
commit19adc3ff2dc262ade0bc1a87895e49696224d5d0 (patch)
treecc3e83eae5042db2ca75b063413d4d8403e79a7a /include/sway
parent30dbb8eba053fda2e17678feb6cebffc424e1e57 (diff)
parenta2fdac2c4b81b6da95b914a5f65fb297cb8d4ce4 (diff)
Merge pull request #2877 from RyanDwyer/warp-on-workspace-switch
Consider cursor warp when switching workspaces
Diffstat (limited to 'include/sway')
-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);
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