summaryrefslogtreecommitdiff
path: root/src/protocols/ColorManagement.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocols/ColorManagement.hpp')
-rw-r--r--src/protocols/ColorManagement.hpp8
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;
};