aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-07-31 12:39:49 +0200
committervaxerski <[email protected]>2022-07-31 12:39:49 +0200
commit20cba2d70775207da09e218852a6fd1266fedd21 (patch)
treee25d104500c5379aafa2ee017d9b49cc11c93cab
parente2bc07d2767b3e9c7f7e5e49ed10790e764beda3 (diff)
downloadHyprland-20cba2d70775207da09e218852a6fd1266fedd21.tar.gz
Hyprland-20cba2d70775207da09e218852a6fd1266fedd21.zip
damage monitor on dpms on
-rw-r--r--src/managers/KeybindManager.cpp3
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());
}
}