diff --git a/src/managers/InputManager.cpp b/src/managers/InputManager.cpp index 446ce369..479abbed 100644 --- a/src/managers/InputManager.cpp +++ b/src/managers/InputManager.cpp @@ -221,7 +221,6 @@ void CInputManager::onMouseButton(wlr_pointer_button_event* e) { // notify app if we didnt handle it if (g_pCompositor->doesSeatAcceptInput(g_pCompositor->m_pLastFocus)) { wlr_seat_pointer_notify_button(g_pCompositor->m_sSeat.seat, e->time_msec, e->button, e->state); - Debug::log(LOG, "Seat notified of button %i (state %i) on surface %x", e->button, e->state, g_pCompositor->m_pLastFocus); } } @@ -360,8 +359,6 @@ void CInputManager::onKeyboardKey(wlr_keyboard_key_event* e, SKeyboard* pKeyboar bool found = false; if (e->state == WL_KEYBOARD_KEY_STATE_PRESSED) { - Debug::log(LOG, "Pressed key %i, with the MODMASK being %i", e->keycode, MODS); - for (int i = 0; i < syms; ++i) found = g_pKeybindManager->handleKeybinds(MODS, keysyms[i]) || found; } else if (e->state == WL_KEYBOARD_KEY_STATE_RELEASED) { diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index 85ba29bc..57412d88 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -89,6 +89,7 @@ bool CKeybindManager::handleKeybinds(const uint32_t& modmask, const xkb_keysym_t Debug::log(ERR, "Inavlid handler in a keybind! (handler %s does not exist)", k.handler.c_str()); } else { // call the dispatcher + Debug::log(LOG, "Keybind triggered, calling dispatcher (%d, %s)", modmask, KBKEYUPPER); DISPATCHER->second(k.arg); }