mirror of
https://github.com/swaywm/sway.git
synced 2025-11-14 06:59:47 -05:00
Implement cursor event simulation with sway commands.
This commit is contained in:
parent
4240ede065
commit
1edb2bd892
7 changed files with 91 additions and 2 deletions
|
|
@ -166,7 +166,7 @@ static void handle_cursor_motion_absolute(
|
|||
cursor_send_pointer_motion(cursor, event->time_msec);
|
||||
}
|
||||
|
||||
static void dispatch_cursor_button(struct sway_cursor *cursor,
|
||||
void dispatch_cursor_button(struct sway_cursor *cursor,
|
||||
uint32_t time_msec, uint32_t button, enum wlr_button_state state) {
|
||||
struct wlr_surface *surface = NULL;
|
||||
double sx, sy;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue