mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 06:05:59 +01:00
damage monitor on dpms on
This commit is contained in:
parent
e2bc07d276
commit
20cba2d707
1 changed files with 3 additions and 0 deletions
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue