mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-09 08:31:54 -07:00
damage monitor on dpms on
This commit is contained in:
@@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user