From a8bb04a2b25e5cd5d87b00820ccd7e2b08bdb3bc Mon Sep 17 00:00:00 2001 From: Kadir <104317272+KadirJeager@users.noreply.github.com> Date: Mon, 12 Oct 2026 18:13:45 +0300 Subject: [PATCH] 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 * remove test --------- Co-authored-by: Claude Opus 5.5 Co-authored-by: bbedward --- quickshell/Services/WlrOutputService.qml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/quickshell/Services/WlrOutputService.qml b/quickshell/Services/WlrOutputService.qml index 9d19a9807..8d3b77c33 100644 --- a/quickshell/Services/WlrOutputService.qml +++ b/quickshell/Services/WlrOutputService.qml @@ -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); }