diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-03-16 00:30:07 +0000 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-03-16 00:30:07 +0000 |
| commit | 3e261b1fa78d13daeda8bede7df3f2c6af032c46 (patch) | |
| tree | da13a93a62652a6029a173deb156894a41e8ba6c /src/managers/input/InputManager.cpp | |
| parent | cee7f11d8b785356c598726809589b385f139dbf (diff) | |
dpms: fix key_press_enables_dpms
Diffstat (limited to 'src/managers/input/InputManager.cpp')
| -rw-r--r-- | src/managers/input/InputManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp index 5b59f7f1..55d960a1 100644 --- a/src/managers/input/InputManager.cpp +++ b/src/managers/input/InputManager.cpp @@ -963,7 +963,7 @@ void CInputManager::onKeyboardKey(wlr_keyboard_key_event* e, SKeyboard* pKeyboar if (!pKeyboard->enabled) return; - static auto* const PDPMS = &g_pConfigManager->getConfigValuePtr("key_press_enables_dpms")->intValue; + static auto* const PDPMS = &g_pConfigManager->getConfigValuePtr("misc:key_press_enables_dpms")->intValue; if (*PDPMS && g_pCompositor->m_bDPMSStateON) { // enable dpms g_pKeybindManager->dpms("on"); |
