From e8192b4fc920cba6c272a48fa86ca51bfd73f101 Mon Sep 17 00:00:00 2001 From: "Devin J. Pohly" Date: Tue, 16 Feb 2021 13:13:48 -0600 Subject: Revert "Revert "fix undeclared WLR_KEY_PRESSED"" This reverts commit a11f2bbc7a4068321767bd7e8c7eee1aee278bc9. --- dwl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwl.c b/dwl.c index 4098f86..6803594 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 == WLR_KEY_PRESSED) + if (event->state == WL_KEYBOARD_KEY_STATE_PRESSED) for (i = 0; i < nsyms; i++) handled = keybinding(mods, syms[i]) || handled; -- cgit v1.2.3