mirror of
https://github.com/hyprwm/Hyprland
synced 2025-12-20 04:10:04 +01:00
core/compositor: remove a monitor reset on cleanup (#12645)
I've tested this change with different modes from the monitor default and validated that dpms still works, at least on my machine. If there's a good reason why this exists, feel free to correct me, but this helps get us closer to a flicker-free experience.
This commit is contained in:
parent
4036c37e55
commit
6b491e4d6b
1 changed files with 0 additions and 3 deletions
|
|
@ -574,9 +574,6 @@ void CCompositor::cleanup() {
|
||||||
|
|
||||||
for (auto const& m : m_monitors) {
|
for (auto const& m : m_monitors) {
|
||||||
g_pHyprOpenGL->destroyMonitorResources(m);
|
g_pHyprOpenGL->destroyMonitorResources(m);
|
||||||
|
|
||||||
m->m_output->state->setEnabled(false);
|
|
||||||
m->m_state.commit();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
g_pXWayland.reset();
|
g_pXWayland.reset();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue