summaryrefslogtreecommitdiff
path: root/src/protocols/core
diff options
context:
space:
mode:
authorUjinT34 <41110182+UjinT34@users.noreply.github.com>2025-02-02 22:25:29 +0300
committerGitHub <noreply@github.com>2025-02-02 20:25:29 +0100
commit31431a92714ab7f53c25d2ececb26c5b7264b7e3 (patch)
treeb5a9ff0e57493b503b09eb9f0e70e96075d70add /src/protocols/core
parent70d94fec134c4b91916812901310e7765acf8405 (diff)
protocols: Support content-type-v1 proto (#9226)
Diffstat (limited to 'src/protocols/core')
-rw-r--r--src/protocols/core/Compositor.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/protocols/core/Compositor.hpp b/src/protocols/core/Compositor.hpp
index 20614813..aaaf9b1a 100644
--- a/src/protocols/core/Compositor.hpp
+++ b/src/protocols/core/Compositor.hpp
@@ -26,6 +26,7 @@ class CViewportResource;
class CDRMSyncobjSurfaceResource;
class CColorManagementSurface;
class CFrogColorManagementSurface;
+class CContentType;
class CWLCallbackResource {
public:
@@ -123,6 +124,7 @@ class CWLSurfaceResource {
WP<CViewportResource> viewportResource;
WP<CDRMSyncobjSurfaceResource> syncobj; // may not be present
WP<CColorManagementSurface> colorManagement;
+ WP<CContentType> contentType;
void breadthfirst(std::function<void(SP<CWLSurfaceResource>, const Vector2D&, void*)> fn, void* data);
CRegion accumulateCurrentBufferDamage();