damage monitor on dpms on

This commit is contained in:
vaxerski 2022-07-31 12:39:49 +02:00
parent e2bc07d276
commit 20cba2d707

View file

@ -1336,5 +1336,8 @@ void CKeybindManager::dpms(std::string arg) {
if (!wlr_output_commit(m->output)) { if (!wlr_output_commit(m->output)) {
Debug::log(ERR, "Couldn't commit output %s", m->szName.c_str()); Debug::log(ERR, "Couldn't commit output %s", m->szName.c_str());
} }
if (enable)
g_pHyprRenderer->damageMonitor(m.get());
} }
} }