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");