aboutsummaryrefslogtreecommitdiff
path: root/sway/input/cursor.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-04-10 18:17:51 -0400
committerGitHub <noreply@github.com>2018-04-10 18:17:51 -0400
commit96118be241b5a2f0f629a1f1859f1ec4ed39734c (patch)
tree261a479b5d6e14b33d94d48f8be882fc7e3930d7 /sway/input/cursor.c
parent23df5b637ef7fc13e52f11bd6def23906c3828d4 (diff)
parentc53b2edd41babec9c5d214eab383107509f20353 (diff)
Merge pull request #1793 from PyroLagus/input-simulation
Cursor input 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(
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;