summaryrefslogtreecommitdiff
path: root/src/protocols/ColorManagement.hpp
diff options
context:
space:
mode:
authorUjinT34 <41110182+UjinT34@users.noreply.github.com>2025-10-04 01:35:22 +0300
committerGitHub <noreply@github.com>2025-10-04 00:35:22 +0200
commit76d998743ac10e712238c1016db4d8e8d16f1049 (patch)
treea35c4b58afa42c46232bfcf6db7ddf1fde00665d /src/protocols/ColorManagement.hpp
parentb7ef892ecf9c07e742239102056da950ebb42eee (diff)
cm: handle inert cm outputs (#11916)
Diffstat (limited to 'src/protocols/ColorManagement.hpp')
-rw-r--r--src/protocols/ColorManagement.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/protocols/ColorManagement.hpp b/src/protocols/ColorManagement.hpp
index 15762530..dea9f74c 100644
--- a/src/protocols/ColorManagement.hpp
+++ b/src/protocols/ColorManagement.hpp
@@ -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;