~ruther/dwl

67896e9d8b98f679faf4456e26e82057c1884789 — Richard Ipsum 4 years ago 44ef698
fix undeclared WLR_KEY_PRESSED
1 files changed, 1 insertions(+), 1 deletions(-)

M dwl.c
M dwl.c => dwl.c +1 -1
@@ 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;


Do not follow this link