summaryrefslogtreecommitdiffstats
path: root/include/sway/input/cursor.h
diff options
context:
space:
mode:
authorLibravatar Danny Bautista <pyrolagus@nerdpol.ch>2018-04-10 15:40:27 -0400
committerLibravatar Danny Bautista <pyrolagus@nerdpol.ch>2018-04-10 15:40:27 -0400
commitc355d680e9a009e09e027a79b27ad21763fa67ea (patch)
tree1d5f24c369993e603f80b45d07d0451399bcae53 /include/sway/input/cursor.h
parentImplement cursor event simulation with sway commands. (diff)
downloadsway-c355d680e9a009e09e027a79b27ad21763fa67ea.tar.gz
sway-c355d680e9a009e09e027a79b27ad21763fa67ea.tar.zst
sway-c355d680e9a009e09e027a79b27ad21763fa67ea.zip
Clean up cursor simulation code.
Diffstat (limited to 'include/sway/input/cursor.h')
-rw-r--r--include/sway/input/cursor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sway/input/cursor.h b/include/sway/input/cursor.h
index 30169aa1..fcd94437 100644
--- a/include/sway/input/cursor.h
+++ b/include/sway/input/cursor.h
@@ -30,6 +30,7 @@ struct sway_cursor {
30void sway_cursor_destroy(struct sway_cursor *cursor); 30void sway_cursor_destroy(struct sway_cursor *cursor);
31struct sway_cursor *sway_cursor_create(struct sway_seat *seat); 31struct sway_cursor *sway_cursor_create(struct sway_seat *seat);
32void cursor_send_pointer_motion(struct sway_cursor *cursor, uint32_t time); 32void cursor_send_pointer_motion(struct sway_cursor *cursor, uint32_t time);
33void dispatch_cursor_button(struct sway_cursor *cursor, uint32_t time_msec, uint32_t button, enum wlr_button_state state); 33void dispatch_cursor_button(struct sway_cursor *cursor, uint32_t time_msec,
34 uint32_t button, enum wlr_button_state state);
34 35
35#endif 36#endif