Impl changeworkspace(e+{n})
This commit is contained in:
parent
2ae088d631
commit
ce9efb7ae3
5 changed files with 11 additions and 13 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue