aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2021-02-16 13:09:00 -0600
committerDevin J. Pohly <djpohly@gmail.com>2021-02-16 13:09:00 -0600
commita11f2bbc7a4068321767bd7e8c7eee1aee278bc9 (patch)
tree6217dcd657ce2b55e4d2800c8fc986ddb1d50816
parent8ed88822ca4448b06c2d7e6155d8022152b78017 (diff)
Revert "fix undeclared WLR_KEY_PRESSED"
This reverts commit 67896e9d8b98f679faf4456e26e82057c1884789.
-rw-r--r--dwl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwl.c b/dwl.c
index 6803594..4098f86 100644
--- a/dwl.c
+++ b/dwl.c
@@ -1284,7 +1284,7 @@ keypress(struct wl_listener *listener, void *data)
wlr_idle_notify_activity(idle, seat);
/* On _press_, attempt to process a compositor keybinding. */
- if (event->state == WL_KEYBOARD_KEY_STATE_PRESSED)
+ if (event->state == WLR_KEY_PRESSED)
for (i = 0; i < nsyms; i++)
handled = keybinding(mods, syms[i]) || handled;