Merge pull request #66 from richardipsum/master

fix undeclared WLR_KEY_PRESSED
このコミットが含まれているのは:
Devin J. Pohly 2020-12-24 14:28:04 -06:00 committed by GitHub
コミット a42613db9d
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更1行の追加1行の削除

2
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;