protocols/cm: Fix preferred image description (#11026)

This commit is contained in:
UjinT34 2025-07-15 20:33:14 +03:00 committed by GitHub
parent bc764f7065
commit e15014e031
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 50 additions and 8 deletions

View file

@ -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;
};