From 9c5d3c9a70329a06d055f764e45d856f9eacf0e4 Mon Sep 17 00:00:00 2001 From: Xaver Hugl Date: Fri, 11 Mar 2022 03:49:16 +0100 Subject: [PATCH] outputchangeset: set default values for vrr policy and rgb range If this is not done then KScreen will sometimes unintentionally reset them to the default. BUG: 442520 FIXED-IN: 5.24.4 --- src/wayland/outputchangeset_v2.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wayland/outputchangeset_v2.cpp b/src/wayland/outputchangeset_v2.cpp index faf4d3d2f0..52c81c77b7 100644 --- a/src/wayland/outputchangeset_v2.cpp +++ b/src/wayland/outputchangeset_v2.cpp @@ -21,6 +21,8 @@ OutputChangeSetV2Private::OutputChangeSetV2Private(OutputDeviceV2Interface *outp , position(outputDevice->globalPosition()) , scale(outputDevice->scale()) , overscan(outputDevice->overscan()) + , vrrPolicy(outputDevice->vrrPolicy()) + , rgbRange(outputDevice->rgbRange()) { }