don't set vrr policy on incompatible monitors
This commit is contained in:
parent
a8d7e99874
commit
6a9d82eb55
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue