From 20cba2d70775207da09e218852a6fd1266fedd21 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sun, 31 Jul 2022 12:39:49 +0200 Subject: [PATCH] damage monitor on dpms on --- src/managers/KeybindManager.cpp | 3 +++ 1 file changed, 3 insertions(+) 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()); } }