Commit 6a9d82eb authored by Xaver Hugl's avatar Xaver Hugl
Browse files

don't set vrr policy on incompatible monitors

parent a8d7e998
......@@ -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();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment