aboutsummaryrefslogtreecommitdiff
path: root/include/sway/input/cursor.h
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2024-02-28 17:49:58 +0100
committerSimon Zeni <simon@bl4ckb0ne.ca>2024-02-28 14:28:11 -0500
commitfca8474e9bd64bff8df16fdaf409d5f575ba9501 (patch)
treef310c4062fa1bcbd49fc9397a5386953050f1a61 /include/sway/input/cursor.h
parent469411d4842e265295de5897cbcf879487cb46e8 (diff)
Convert to new pointer enums
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4575
Diffstat (limited to 'include/sway/input/cursor.h')
-rw-r--r--include/sway/input/cursor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sway/input/cursor.h b/include/sway/input/cursor.h
index 1e21c66f..527d0350 100644
--- a/include/sway/input/cursor.h
+++ b/include/sway/input/cursor.h
@@ -114,7 +114,7 @@ void pointer_motion(struct sway_cursor *cursor, uint32_t time_msec,
void dispatch_cursor_button(struct sway_cursor *cursor,
struct wlr_input_device *device, uint32_t time_msec, uint32_t button,
- enum wlr_button_state state);
+ enum wl_pointer_button_state state);
void dispatch_cursor_axis(struct sway_cursor *cursor,
struct wlr_pointer_axis_event *event);