Impl changeworkspace(e+{n})

This commit is contained in:
Darksome
2022-07-16 15:28:17 +03:00
parent 2ae088d631
commit ce9efb7ae3
5 changed files with 11 additions and 13 deletions

View File

@@ -630,12 +630,10 @@ void CInputManager::onKeyboardKey(wlr_keyboard_key_event* e, SKeyboard* pKeyboar
bool found = false;
if (e->state == WL_KEYBOARD_KEY_STATE_PRESSED) {
static const std::string empty = "";
for (int i = 0; i < syms; ++i)
found = g_pKeybindManager->handleKeybinds(MODS, empty, keysyms[i], 0) || found;
found = g_pKeybindManager->handleKeybinds(MODS, "", keysyms[i], 0) || found;
found = g_pKeybindManager->handleKeybinds(MODS, empty, 0, KEYCODE) || found;
found = g_pKeybindManager->handleKeybinds(MODS, "", 0, KEYCODE) || found;
} else if (e->state == WL_KEYBOARD_KEY_STATE_RELEASED) {
// hee hee
}