aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Fan <ianfan0@gmail.com>2019-03-01 20:36:22 +0000
committeremersion <contact@emersion.fr>2019-03-01 21:49:04 +0100
commit2e1dd4ae36fd4fa4c2f86911aaa300833d374619 (patch)
tree8c3e508c5f610735c87c26d6270e5d8a43570a2d
parente8f012c993e0584f8c7eb4ff1bb6367bd9f30f9e (diff)
seat: fix remaining wlr_button_state enum rename
-rw-r--r--types/seat/wlr_seat_pointer.c2
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;
}