summaryrefslogtreecommitdiff
path: root/src/managers/KeybindManager.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-07-31 12:39:49 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-07-31 12:39:49 +0200
commit20cba2d70775207da09e218852a6fd1266fedd21 (patch)
treee25d104500c5379aafa2ee017d9b49cc11c93cab /src/managers/KeybindManager.cpp
parente2bc07d2767b3e9c7f7e5e49ed10790e764beda3 (diff)
damage monitor on dpms on
Diffstat (limited to 'src/managers/KeybindManager.cpp')
-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());
}
}