diff options
author | Devin J. Pohly <djpohly@gmail.com> | 2021-02-16 13:13:48 -0600 |
---|---|---|
committer | Devin J. Pohly <djpohly@gmail.com> | 2021-02-16 13:13:48 -0600 |
commit | e8192b4fc920cba6c272a48fa86ca51bfd73f101 (patch) | |
tree | 55843b7b414a62a113b4fb32b182d253194d00af | |
parent | 47984509443e9be8776e96b9b21e81d5305d68a6 (diff) |
Revert "Revert "fix undeclared WLR_KEY_PRESSED""
This reverts commit a11f2bbc7a4068321767bd7e8c7eee1aee278bc9.
-rw-r--r-- | dwl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 == WLR_KEY_PRESSED) + if (event->state == WL_KEYBOARD_KEY_STATE_PRESSED) for (i = 0; i < nsyms; i++) handled = keybinding(mods, syms[i]) || handled; |