summaryrefslogtreecommitdiff
path: root/src/managers/input/InputManager.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-06-16 18:33:37 +0100
committerGitHub <noreply@github.com>2022-06-16 18:33:37 +0100
commit354e2651289861bf7027fd02be41088e45fc1c99 (patch)
tree643efd5d4ef8813862383e3cb4bcbed53c8af94c /src/managers/input/InputManager.cpp
parent36ea12b315c86e3a1448fe3e695bc5e8bca385a7 (diff)
parent1926bb4659017eed2e37eadfdcf0acc4b9c71808 (diff)
Merge pull request #230 from bazuin-32/main
Resolves #204. Enables numlock on startup when configured to do so
Diffstat (limited to 'src/managers/input/InputManager.cpp')
-rw-r--r--src/managers/input/InputManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp
index 61160be0..003535f7 100644
--- a/src/managers/input/InputManager.cpp
+++ b/src/managers/input/InputManager.cpp
@@ -309,7 +309,7 @@ void CInputManager::setKeyboardLayout() {
}
if (wlrMods.locked != 0) {
- wlr_seat_keyboard_notify_modifiers(g_pCompositor->m_sSeat.seat, &wlrMods);
+ wlr_keyboard_notify_modifiers(g_pInputManager->m_pActiveKeyboard->keyboard->keyboard, 0, 0, wlrMods.locked, 0);
}
xkb_keymap_unref(KEYMAP);