displays: send the vrr setting on the wlr-output path (#3701)

* displays: send the vrr setting on the wlr-output path

The toggle shown on compositors without their own output writer (sway,
labwc, ...) was dropped when the heads were built, so it never applied.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* remove test

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: bbedward <[email protected]>
This commit is contained in:
Kadir
2026-10-12 11:13:45 -04:00
committed by GitHub
co-authored by Claude Opus 5.5 bbedward
parent fb1686888d
commit a8bb04a2b2
+4
View File
@@ -210,6 +210,10 @@ Singleton {
head.scale = output.logical.scale ?? 1.0;
head.transform = OutputModel.transformIndex(output.logical.transform);
}
// Only heads that reported adaptive sync (wlr-output-management v4) accept set_adaptive_sync.
if (output.vrr_supported)
head.adaptiveSync = output.vrr_enabled ? 1 : 0;
}
heads.push(head);
}