cm: handle inert cm outputs (#11916)

This commit is contained in:
UjinT34 2025-10-04 01:35:22 +03:00 committed by GitHub
parent b7ef892ecf
commit 76d998743a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 20 deletions

View file

@ -27,7 +27,7 @@ class CColorManager {
class CColorManagementOutput {
public:
CColorManagementOutput(SP<CWpColorManagementOutputV1> resource, WP<CMonitor> monitor);
CColorManagementOutput(SP<CWpColorManagementOutputV1> resource, WP<CWLOutputResource> output);
bool good();
wl_client* client();
@ -38,7 +38,7 @@ class CColorManagementOutput {
private:
SP<CWpColorManagementOutputV1> m_resource;
wl_client* m_client = nullptr;
WP<CMonitor> m_monitor;
WP<CWLOutputResource> m_output;
friend class CColorManagementProtocol;
friend class CColorManagementImageDescription;