aboutsummaryrefslogtreecommitdiff
path: root/sway/input/seatop_down.c
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 /sway/input/seatop_down.c
parent469411d4842e265295de5897cbcf879487cb46e8 (diff)
Convert to new pointer enums
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4575
Diffstat (limited to 'sway/input/seatop_down.c')
-rw-r--r--sway/input/seatop_down.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/seatop_down.c b/sway/input/seatop_down.c
index 12d7ae7a..35fd3bcb 100644
--- a/sway/input/seatop_down.c
+++ b/sway/input/seatop_down.c
@@ -142,7 +142,7 @@ static void handle_pointer_axis(struct sway_seat *seat,
static void handle_button(struct sway_seat *seat, uint32_t time_msec,
struct wlr_input_device *device, uint32_t button,
- enum wlr_button_state state) {
+ enum wl_pointer_button_state state) {
seat_pointer_notify_button(seat, time_msec, button, state);
if (seat->cursor->pressed_button_count == 0) {