From 2e1dd4ae36fd4fa4c2f86911aaa300833d374619 Mon Sep 17 00:00:00 2001 From: Ian Fan Date: Fri, 1 Mar 2019 20:36:22 +0000 Subject: [PATCH] seat: fix remaining wlr_button_state enum rename --- types/seat/wlr_seat_pointer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/seat/wlr_seat_pointer.c b/types/seat/wlr_seat_pointer.c index 1aabea0f..e65ad7c2 100644 --- a/types/seat/wlr_seat_pointer.c +++ b/types/seat/wlr_seat_pointer.c @@ -357,7 +357,7 @@ uint32_t wlr_seat_pointer_notify_button(struct wlr_seat *wlr_seat, uint32_t serial = grab->interface->button(grab, time, button, state); if (serial && wlr_seat->pointer_state.button_count == 1 && - state == WL_POINTER_BUTTON_STATE_PRESSED) { + state == WLR_BUTTON_PRESSED) { wlr_seat->pointer_state.grab_serial = serial; }