diff options
| author | UjinT34 <41110182+UjinT34@users.noreply.github.com> | 2025-07-15 20:33:14 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-15 19:33:14 +0200 |
| commit | e15014e031589e1df2dc29a5ce94325676796ac4 (patch) | |
| tree | 5d56992b9e6c458dd1830c4b9ea235c0391fedd8 /src/protocols/ColorManagement.hpp | |
| parent | bc764f7065c8e46b4e62cbb511b419034712c509 (diff) | |
protocols/cm: Fix preferred image description (#11026)
Diffstat (limited to 'src/protocols/ColorManagement.hpp')
| -rw-r--r-- | src/protocols/ColorManagement.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/protocols/ColorManagement.hpp b/src/protocols/ColorManagement.hpp index fc3a8d54..1d2795ed 100644 --- a/src/protocols/ColorManagement.hpp +++ b/src/protocols/ColorManagement.hpp @@ -89,6 +89,14 @@ class CColorManagementFeedbackSurface { wl_client* m_client = nullptr; WP<CColorManagementImageDescription> m_currentPreferred; + uint32_t m_currentPreferredId = 0; + + struct { + CHyprSignalListener enter; + CHyprSignalListener leave; + } m_listeners; + + void onPreferredChanged(); friend class CColorManagementProtocol; }; |
