diff options
| author | Lee Bousfield <ljbousfield@gmail.com> | 2025-03-29 19:25:27 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-30 01:25:27 +0100 |
| commit | 86c279d7d0df9a6f2a78b47f3ca966272a9b9ee0 (patch) | |
| tree | e68766ce32a35c20df2bc737b8ef7cd8fd46ebf0 /src/protocols/ColorManagement.hpp | |
| parent | 46b00a4a861370e2ba560732df6f0783cf5cf9b5 (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.hpp | 1 |
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; |
