diff options
author | Ian Fan <ianfan0@gmail.com> | 2019-03-01 20:36:22 +0000 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2019-03-01 21:49:04 +0100 |
commit | 2e1dd4ae36fd4fa4c2f86911aaa300833d374619 (patch) | |
tree | 8c3e508c5f610735c87c26d6270e5d8a43570a2d | |
parent | e8f012c993e0584f8c7eb4ff1bb6367bd9f30f9e (diff) |
seat: fix remaining wlr_button_state enum rename
-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; } |