aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-08-30 15:26:00 +0200
committerVaxry <[email protected]>2024-08-30 15:53:45 +0200
commitfd8d8e122ed9cf49f3f84d4d264f1b810c355a07 (patch)
tree7376fc5faa98d9bdeffb5a4f0d75568b2cc7e3cc
parent1c9d56998dbf3a9b61e13573e9e91d149fe65969 (diff)
downloadHyprland-fd8d8e122ed9cf49f3f84d4d264f1b810c355a07.tar.gz
Hyprland-fd8d8e122ed9cf49f3f84d4d264f1b810c355a07.zip
keybinds: fixup misused kb state
fixes #7369
-rw-r--r--src/managers/KeybindManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp
index 72799f1d..7ee5ae7e 100644
--- a/src/managers/KeybindManager.cpp
+++ b/src/managers/KeybindManager.cpp
@@ -372,7 +372,7 @@ bool CKeybindManager::onKeyEvent(std::any event, SP<IKeyboard> pKeyboard) {
const auto KEYCODE = e.keycode + 8; // Because to xkbcommon it's +8 from libinput
- const xkb_keysym_t keysym = xkb_state_key_get_one_sym(pKeyboard->resolveBindsBySym ? pKeyboard->xkbStaticState : m_pXKBTranslationState, KEYCODE);
+ const xkb_keysym_t keysym = xkb_state_key_get_one_sym(pKeyboard->resolveBindsBySym ? pKeyboard->xkbState : m_pXKBTranslationState, KEYCODE);
const xkb_keysym_t internalKeysym = xkb_state_key_get_one_sym(pKeyboard->xkbState, KEYCODE);
if (handleInternalKeybinds(internalKeysym))