protocols: implement hyprland-ctm-control rev 2 (#9267)

* protocols: implement hyprland-ctm-control v2

* bump h-p and nix
This commit is contained in:
outfoxxed
2025-02-02 09:31:04 -08:00
committed by GitHub
parent 97a24ec6f3
commit 373108102c
7 changed files with 41 additions and 18 deletions

View File

@@ -167,7 +167,7 @@ CProtocolManager::CProtocolManager() {
PROTO::xdgDialog = makeUnique<CXDGDialogProtocol>(&xdg_dialog_v1_interface, 1, "XDGDialog");
PROTO::singlePixel = makeUnique<CSinglePixelProtocol>(&wp_single_pixel_buffer_manager_v1_interface, 1, "SinglePixel");
PROTO::securityContext = makeUnique<CSecurityContextProtocol>(&wp_security_context_manager_v1_interface, 1, "SecurityContext");
PROTO::ctm = makeUnique<CHyprlandCTMControlProtocol>(&hyprland_ctm_control_manager_v1_interface, 1, "CTMControl");
PROTO::ctm = makeUnique<CHyprlandCTMControlProtocol>(&hyprland_ctm_control_manager_v1_interface, 2, "CTMControl");
PROTO::hyprlandSurface = makeUnique<CHyprlandSurfaceProtocol>(&hyprland_surface_manager_v1_interface, 2, "HyprlandSurface");
if (*PENABLEXXCM) {