From 6b491e4d6ba12598b82363c4c5cbcc26a2a06ae6 Mon Sep 17 00:00:00 2001 From: Mason Davy <54364725+Nosamdaman@users.noreply.github.com> Date: Mon, 15 Dec 2025 16:37:48 -0500 Subject: [PATCH] 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. --- src/Compositor.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Compositor.cpp b/src/Compositor.cpp index 3c67979f7..0eabed055 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -574,9 +574,6 @@ void CCompositor::cleanup() { for (auto const& m : m_monitors) { g_pHyprOpenGL->destroyMonitorResources(m); - - m->m_output->state->setEnabled(false); - m->m_state.commit(); } g_pXWayland.reset();