screencopy: un-hdr screencopy buffers for cm-unaware clients (#11294)

This commit is contained in:
Vaxry 2025-07-31 18:07:59 +02:00 committed by GitHub
parent a907ecd4ff
commit 9607e3b5a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 39 additions and 10 deletions

View file

@ -18,7 +18,8 @@ class CColorManager {
public:
CColorManager(SP<CWpColorManagerV1> resource);
bool good();
bool good();
wl_client* client();
private:
SP<CWpColorManagerV1> m_resource;
@ -187,6 +188,8 @@ class CColorManagementProtocol : public IWaylandProtocol {
void onImagePreferredChanged(uint32_t preferredId);
void onMonitorImageDescriptionChanged(WP<CMonitor> monitor);
bool isClientCMAware(wl_client* client);
private:
void destroyResource(CColorManager* resource);
void destroyResource(CColorManagementOutput* resource);