diff options
author | emersion <contact@emersion.fr> | 2018-04-10 18:17:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-10 18:17:51 -0400 |
commit | 96118be241b5a2f0f629a1f1859f1ec4ed39734c (patch) | |
tree | 261a479b5d6e14b33d94d48f8be882fc7e3930d7 /include/sway/input/cursor.h | |
parent | 23df5b637ef7fc13e52f11bd6def23906c3828d4 (diff) | |
parent | c53b2edd41babec9c5d214eab383107509f20353 (diff) |
Merge pull request #1793 from PyroLagus/input-simulation
Cursor input simulation with sway commands.
Diffstat (limited to 'include/sway/input/cursor.h')
-rw-r--r-- | include/sway/input/cursor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/input/cursor.h b/include/sway/input/cursor.h index daf7d4ee..fcd94437 100644 --- a/include/sway/input/cursor.h +++ b/include/sway/input/cursor.h @@ -30,5 +30,7 @@ struct sway_cursor { void sway_cursor_destroy(struct sway_cursor *cursor); struct sway_cursor *sway_cursor_create(struct sway_seat *seat); void cursor_send_pointer_motion(struct sway_cursor *cursor, uint32_t time); +void dispatch_cursor_button(struct sway_cursor *cursor, uint32_t time_msec, + uint32_t button, enum wlr_button_state state); #endif |