aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2023-03-16 00:30:07 +0000
committervaxerski <[email protected]>2023-03-16 00:30:07 +0000
commit3e261b1fa78d13daeda8bede7df3f2c6af032c46 (patch)
treeda13a93a62652a6029a173deb156894a41e8ba6c
parentcee7f11d8b785356c598726809589b385f139dbf (diff)
downloadHyprland-3e261b1fa78d13daeda8bede7df3f2c6af032c46.tar.gz
Hyprland-3e261b1fa78d13daeda8bede7df3f2c6af032c46.zip
dpms: fix key_press_enables_dpms
-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 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");