diff options
Diffstat (limited to 'src/protocols/ColorManagement.hpp')
| -rw-r--r-- | src/protocols/ColorManagement.hpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/protocols/ColorManagement.hpp b/src/protocols/ColorManagement.hpp index 7cdab37d..14700c98 100644 --- a/src/protocols/ColorManagement.hpp +++ b/src/protocols/ColorManagement.hpp @@ -87,7 +87,7 @@ class CColorManagementFeedbackSurface { SP<CWpColorManagementSurfaceFeedbackV1> m_resource; wl_client* m_client = nullptr; - uint32_t m_currentPreferredId = 0; + uint64_t m_currentPreferredId = 0; struct { CHyprSignalListener enter; @@ -154,20 +154,23 @@ class CColorManagementParametricCreator { class CColorManagementImageDescription { public: CColorManagementImageDescription(SP<CWpImageDescriptionV1> resource, bool allowGetInformation); + static SP<CColorManagementImageDescription> fromReference(wl_resource* res); - bool good(); - wl_client* client(); - SP<CWpImageDescriptionV1> resource(); + bool good(); + wl_client* client(); + SP<CWpImageDescriptionV1> resource(); + bool sendMaybeReady(); - WP<CColorManagementImageDescription> m_self; + WP<CColorManagementImageDescription> m_self; - NColorManagement::PImageDescription m_settings; + NColorManagement::PImageDescription m_settings; private: SP<CWpImageDescriptionV1> m_resource; wl_client* m_client = nullptr; bool m_allowGetInformation = false; + friend class CColorManager; friend class CColorManagementOutput; }; |
