Revert "fix undeclared WLR_KEY_PRESSED"
This reverts commit 67896e9d8b
.
This commit is contained in:
parent
8ed88822ca
commit
a11f2bbc7a
2
dwl.c
2
dwl.c
@ -1284,7 +1284,7 @@ keypress(struct wl_listener *listener, void *data)
|
|||||||
wlr_idle_notify_activity(idle, seat);
|
wlr_idle_notify_activity(idle, seat);
|
||||||
|
|
||||||
/* On _press_, attempt to process a compositor keybinding. */
|
/* 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++)
|
for (i = 0; i < nsyms; i++)
|
||||||
handled = keybinding(mods, syms[i]) || handled;
|
handled = keybinding(mods, syms[i]) || handled;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user