aboutsummaryrefslogtreecommitdiff
path: root/sway/input/seatop_down.c
diff options
context:
space:
mode:
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) {