diff options
author | emersion <contact@emersion.fr> | 2018-04-21 14:07:22 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-04-21 14:07:22 +0100 |
commit | 4cf77e1de4b0be8b7d9374f04ff0e191ce22610a (patch) | |
tree | 21b52ebdf2de5dffa5177000626ae9ddd2a16f44 /include/sway/input/cursor.h | |
parent | Merge pull request #1836 from emersion/workspace-focus-update-cursor (diff) | |
download | sway-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.h | 2 |
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 | ||
30 | void sway_cursor_destroy(struct sway_cursor *cursor); | 30 | void sway_cursor_destroy(struct sway_cursor *cursor); |
31 | struct sway_cursor *sway_cursor_create(struct sway_seat *seat); | 31 | struct sway_cursor *sway_cursor_create(struct sway_seat *seat); |
32 | void cursor_send_pointer_motion(struct sway_cursor *cursor, uint32_t time); | 32 | void cursor_send_pointer_motion(struct sway_cursor *cursor, uint32_t time_msec); |
33 | void dispatch_cursor_button(struct sway_cursor *cursor, uint32_t time_msec, | 33 | void 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 | ||