diff options
| author | Mason Davy <54364725+Nosamdaman@users.noreply.github.com> | 2025-12-15 16:37:48 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-15 21:37:48 +0000 |
| commit | 6b491e4d6ba12598b82363c4c5cbcc26a2a06ae6 (patch) | |
| tree | 5d73ba0ca24de345295651f49df4aa25548baffa /src/Compositor.cpp | |
| parent | 4036c37e5578d9d8558bacbf590becc09c7d51b2 (diff) | |
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.
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp index 3c67979f..0eabed05 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(); |
