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:
Mason Davy 2025-12-15 16:37:48 -05:00 committed by GitHub
parent 4036c37e55
commit 6b491e4d6b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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();