From 71916ee09ada62e6d75bc801501e69252820bfd1 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sun, 10 Apr 2022 16:47:19 +0200 Subject: fixed XDG popups yet again + removed some old TODOs --- src/managers/InputManager.cpp | 2 -- src/managers/KeybindManager.cpp | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'src/managers') diff --git a/src/managers/InputManager.cpp b/src/managers/InputManager.cpp index 56efd695..5157a063 100644 --- a/src/managers/InputManager.cpp +++ b/src/managers/InputManager.cpp @@ -2,14 +2,12 @@ #include "../Compositor.hpp" void CInputManager::onMouseMoved(wlr_pointer_motion_event* e) { - // TODO: sensitivity float sensitivity = g_pConfigManager->getFloat("general:sensitivity"); wlr_cursor_move(g_pCompositor->m_sWLRCursor, &e->pointer->base, e->delta_x * sensitivity, e->delta_y * sensitivity); mouseMoveUnified(e->time_msec); - // todo: pointer } void CInputManager::onMouseWarp(wlr_pointer_motion_absolute_event* e) { diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index ac66dd14..b79d8c3a 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -40,8 +40,7 @@ bool CKeybindManager::handleKeybinds(const uint32_t& modmask, const xkb_keysym_t // this little maneouver is gonna cost us 4µs const auto KBKEY = xkb_keysym_from_name(k.key.c_str(), XKB_KEYSYM_CASE_INSENSITIVE); const auto KBKEYUPPER = xkb_keysym_to_upper(KBKEY); - // TODO: fix 0-9 keys and other modified ones with shift - // or mention in the fucking wiki + // small TODO: fix 0-9 keys and other modified ones with shift if (key != KBKEY && key != KBKEYUPPER) continue; -- cgit v1.2.3