dwl

My patch set and modifications to dwl
git clone git://git.ethandl.dev/dwl
Log | Files | Refs | README | LICENSE

commit 67896e9d8b98f679faf4456e26e82057c1884789
parent 44ef698d6ef48a41b0df7c4c47d8b880efdbdf33
Author: Richard Ipsum <richardipsum@vx21.xyz>
Date:   Mon, 23 Nov 2020 16:58:43 +0000

fix undeclared WLR_KEY_PRESSED

Diffstat:
Mdwl.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dwl.c b/dwl.c @@ -856,7 +856,7 @@ keypress(struct wl_listener *listener, void *data) int handled = 0; uint32_t mods = wlr_keyboard_get_modifiers(kb->device->keyboard); /* 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;