summaryrefslogtreecommitdiff
path: root/src/protocols/ColorManagement.hpp
diff options
context:
space:
mode:
authorLee Bousfield <ljbousfield@gmail.com>2025-03-29 19:25:27 -0500
committerGitHub <noreply@github.com>2025-03-30 01:25:27 +0100
commit86c279d7d0df9a6f2a78b47f3ca966272a9b9ee0 (patch)
treee68766ce32a35c20df2bc737b8ef7cd8fd46ebf0 /src/protocols/ColorManagement.hpp
parent46b00a4a861370e2ba560732df6f0783cf5cf9b5 (diff)
protocols: Don't update hdr metadata if image description is unchanged (#9776)
Diffstat (limited to 'src/protocols/ColorManagement.hpp')
-rw-r--r--src/protocols/ColorManagement.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/protocols/ColorManagement.hpp b/src/protocols/ColorManagement.hpp
index 55219b8f..5a94920d 100644
--- a/src/protocols/ColorManagement.hpp
+++ b/src/protocols/ColorManagement.hpp
@@ -65,6 +65,7 @@ class CColorManagementSurface {
SP<CWpColorManagementSurfaceV1> m_resource;
wl_client* pClient = nullptr;
NColorManagement::SImageDescription m_imageDescription;
+ NColorManagement::SImageDescription m_lastImageDescription;
bool m_hasImageDescription = false;
bool m_needsNewMetadata = false;
hdr_output_metadata m_hdrMetadata;