aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/cursor.c
diff options
context:
space:
mode:
authorLibravatar Danny Bautista <pyrolagus@nerdpol.ch>2018-04-10 11:32:37 -0400
committerLibravatar Danny Bautista <pyrolagus@nerdpol.ch>2018-04-10 12:40:50 -0400
commit1edb2bd89254069066bab51d316962e85d4445b4 (patch)
tree6c9d9639fcb2d8e0e2b25553307522dd7062073b /sway/input/cursor.c
parentMerge pull request #1791 from RyanDwyer/fix-swaybar-output-config (diff)
downloadsway-1edb2bd89254069066bab51d316962e85d4445b4.tar.gz
sway-1edb2bd89254069066bab51d316962e85d4445b4.tar.zst
sway-1edb2bd89254069066bab51d316962e85d4445b4.zip
Implement cursor event simulation with sway commands.
Diffstat (limited to 'sway/input/cursor.c')
-rw-r--r--sway/input/cursor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c
index 0df01504..15a61cbf 100644
--- a/sway/input/cursor.c
+++ b/sway/input/cursor.c
@@ -166,7 +166,7 @@ static void handle_cursor_motion_absolute(
166 cursor_send_pointer_motion(cursor, event->time_msec); 166 cursor_send_pointer_motion(cursor, event->time_msec);
167} 167}
168 168
169static void dispatch_cursor_button(struct sway_cursor *cursor, 169void dispatch_cursor_button(struct sway_cursor *cursor,
170 uint32_t time_msec, uint32_t button, enum wlr_button_state state) { 170 uint32_t time_msec, uint32_t button, enum wlr_button_state state) {
171 struct wlr_surface *surface = NULL; 171 struct wlr_surface *surface = NULL;
172 double sx, sy; 172 double sx, sy;