From 0faf47cf2f243e875b91688d2889c92b2325684f Mon Sep 17 00:00:00 2001 From: Vaxry Date: Fri, 12 Jul 2024 00:39:38 +0200 Subject: [PATCH] drm/atomic: fix dpms --- src/backend/drm/impl/Atomic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/drm/impl/Atomic.cpp b/src/backend/drm/impl/Atomic.cpp index 724cd5c..607f63e 100644 --- a/src/backend/drm/impl/Atomic.cpp +++ b/src/backend/drm/impl/Atomic.cpp @@ -83,7 +83,7 @@ void Aquamarine::CDRMAtomicRequest::addConnector(Hyprutils::Memory::CSharedPoint add(connector->id, connector->props.crtc_id, enable ? connector->crtc->id : 0); - if (data.modeset && enable) { + if (data.modeset) { add(connector->crtc->id, connector->crtc->props.mode_id, data.atomic.modeBlob); data.atomic.blobbed = true; }