diff options
-rw-r--r-- | types/seat/wlr_seat_pointer.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |