diff options
author | vaxerski <[email protected]> | 2022-07-31 12:39:49 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-07-31 12:39:49 +0200 |
commit | 20cba2d70775207da09e218852a6fd1266fedd21 (patch) | |
tree | e25d104500c5379aafa2ee017d9b49cc11c93cab | |
parent | e2bc07d2767b3e9c7f7e5e49ed10790e764beda3 (diff) | |
download | Hyprland-20cba2d70775207da09e218852a6fd1266fedd21.tar.gz Hyprland-20cba2d70775207da09e218852a6fd1266fedd21.zip |
damage monitor on dpms on
-rw-r--r-- | src/managers/KeybindManager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index 4c8e1d6f..9da1b0b6 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -1336,5 +1336,8 @@ void CKeybindManager::dpms(std::string arg) { if (!wlr_output_commit(m->output)) { Debug::log(ERR, "Couldn't commit output %s", m->szName.c_str()); } + + if (enable) + g_pHyprRenderer->damageMonitor(m.get()); } } |