diff options
| author | UjinT34 <41110182+UjinT34@users.noreply.github.com> | 2025-02-02 22:25:29 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-02 20:25:29 +0100 |
| commit | 31431a92714ab7f53c25d2ececb26c5b7264b7e3 (patch) | |
| tree | b5a9ff0e57493b503b09eb9f0e70e96075d70add /src/managers/ProtocolManager.cpp | |
| parent | 70d94fec134c4b91916812901310e7765acf8405 (diff) | |
protocols: Support content-type-v1 proto (#9226)
Diffstat (limited to 'src/managers/ProtocolManager.cpp')
| -rw-r--r-- | src/managers/ProtocolManager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/managers/ProtocolManager.cpp b/src/managers/ProtocolManager.cpp index 62736ae5..6cd3a608 100644 --- a/src/managers/ProtocolManager.cpp +++ b/src/managers/ProtocolManager.cpp @@ -58,10 +58,12 @@ #include "../protocols/core/Shm.hpp" #include "../protocols/ColorManagement.hpp" #include "../protocols/FrogColorManagement.hpp" +#include "../protocols/ContentType.hpp" #include "../helpers/Monitor.hpp" #include "../render/Renderer.hpp" #include "../Compositor.hpp" +#include "content-type-v1.hpp" #include <aquamarine/buffer/Buffer.hpp> #include <aquamarine/backend/Backend.hpp> @@ -169,6 +171,7 @@ CProtocolManager::CProtocolManager() { PROTO::securityContext = makeUnique<CSecurityContextProtocol>(&wp_security_context_manager_v1_interface, 1, "SecurityContext"); PROTO::ctm = makeUnique<CHyprlandCTMControlProtocol>(&hyprland_ctm_control_manager_v1_interface, 2, "CTMControl"); PROTO::hyprlandSurface = makeUnique<CHyprlandSurfaceProtocol>(&hyprland_surface_manager_v1_interface, 2, "HyprlandSurface"); + PROTO::contentType = makeUnique<CContentTypeProtocol>(&wp_content_type_manager_v1_interface, 1, "ContentType"); if (*PENABLEXXCM) { PROTO::colorManagement = makeUnique<CColorManagementProtocol>(&xx_color_manager_v4_interface, 1, "ColorManagement"); |
