From 6a9d82eb553c2674a7e0427d5115ba9593b0a14f Mon Sep 17 00:00:00 2001 From: Xaver Hugl Date: Sat, 1 May 2021 23:22:38 +0200 Subject: [PATCH] don't set vrr policy on incompatible monitors --- src/abstract_wayland_output.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/abstract_wayland_output.cpp b/src/abstract_wayland_output.cpp index 166d81419a..10aed42978 100644 --- a/src/abstract_wayland_output.cpp +++ b/src/abstract_wayland_output.cpp @@ -374,7 +374,7 @@ void AbstractWaylandOutput::setOverscan(uint32_t overscan) void AbstractWaylandOutput::setVrrPolicy(RenderLoop::VrrPolicy policy) { - if (renderLoop()->vrrPolicy() != policy) { + if (renderLoop()->vrrPolicy() != policy && (m_capabilities & Capability::Vrr)) { renderLoop()->setVrrPolicy(policy); emit vrrPolicyChanged(); }