From bc764f7065c8e46b4e62cbb511b419034712c509 Mon Sep 17 00:00:00 2001 From: UjinT34 <41110182+UjinT34@users.noreply.github.com> Date: Mon, 14 Jul 2025 23:54:43 +0300 Subject: protocols: Remove incorrect CM proto debug check and fix preferred image description (#11023) --- src/protocols/core/Compositor.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/protocols/core/Compositor.hpp') diff --git a/src/protocols/core/Compositor.hpp b/src/protocols/core/Compositor.hpp index 26b5a27b..8f1f8064 100644 --- a/src/protocols/core/Compositor.hpp +++ b/src/protocols/core/Compositor.hpp @@ -18,6 +18,7 @@ #include "../../helpers/math/Math.hpp" #include "../../helpers/time/Time.hpp" #include "../types/Buffer.hpp" +#include "../types/ColorManagement.hpp" #include "../types/SurfaceRole.hpp" #include "../types/SurfaceState.hpp" @@ -107,6 +108,7 @@ class CWLSurfaceResource { SP findFirstPreorder(std::function)> fn); void presentFeedback(const Time::steady_tp& when, PHLMONITOR pMonitor, bool discarded = false); void commitState(SSurfaceState& state); + NColorManagement::SImageDescription getPreferredImageDescription(); // returns a pair: found surface (null if not found) and surface local coords. // localCoords param is relative to 0,0 of this surface -- cgit v1.2.3