summaryrefslogtreecommitdiffstats
path: root/include/sway/input/cursor.h
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2018-04-21 14:07:22 +0100
committerLibravatar emersion <contact@emersion.fr>2018-04-21 14:07:22 +0100
commit4cf77e1de4b0be8b7d9374f04ff0e191ce22610a (patch)
tree21b52ebdf2de5dffa5177000626ae9ddd2a16f44 /include/sway/input/cursor.h
parentMerge pull request #1836 from emersion/workspace-focus-update-cursor (diff)
downloadsway-4cf77e1de4b0be8b7d9374f04ff0e191ce22610a.tar.gz
sway-4cf77e1de4b0be8b7d9374f04ff0e191ce22610a.tar.zst
sway-4cf77e1de4b0be8b7d9374f04ff0e191ce22610a.zip
Default to current time when triggering cursor events
Diffstat (limited to 'include/sway/input/cursor.h')
-rw-r--r--include/sway/input/cursor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sway/input/cursor.h b/include/sway/input/cursor.h
index fcd94437..20c1c903 100644
--- a/include/sway/input/cursor.h
+++ b/include/sway/input/cursor.h
@@ -29,7 +29,7 @@ struct sway_cursor {
29 29
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_msec);
33void dispatch_cursor_button(struct sway_cursor *cursor, uint32_t time_msec, 33void dispatch_cursor_button(struct sway_cursor *cursor, uint32_t time_msec,
34 uint32_t button, enum wlr_button_state state); 34 uint32_t button, enum wlr_button_state state);
35 35