From ed69502ff6e79a6dad213333b0bc3a15e2247942 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sun, 21 Apr 2024 20:04:58 +0100 Subject: xdg-decoration: move to new impl --- src/managers/ProtocolManager.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/managers/ProtocolManager.cpp') diff --git a/src/managers/ProtocolManager.cpp b/src/managers/ProtocolManager.cpp index 77f5315c..47ebbbe0 100644 --- a/src/managers/ProtocolManager.cpp +++ b/src/managers/ProtocolManager.cpp @@ -6,6 +6,7 @@ #include "../protocols/CursorShape.hpp" #include "../protocols/IdleInhibit.hpp" #include "../protocols/RelativePointer.hpp" +#include "../protocols/XDGDecoration.hpp" #include "tearing-control-v1.hpp" #include "fractional-scale-v1.hpp" @@ -13,6 +14,7 @@ #include "cursor-shape-v1.hpp" #include "idle-inhibit-unstable-v1.hpp" #include "relative-pointer-unstable-v1.hpp" +#include "xdg-decoration-unstable-v1.hpp" CProtocolManager::CProtocolManager() { @@ -22,6 +24,7 @@ CProtocolManager::CProtocolManager() { PROTO::cursorShape = std::make_unique(&wp_cursor_shape_manager_v1_interface, 1, "CursorShape"); PROTO::idleInhibit = std::make_unique(&zwp_idle_inhibit_manager_v1_interface, 1, "IdleInhibit"); PROTO::relativePointer = std::make_unique(&zwp_relative_pointer_manager_v1_interface, 1, "RelativePointer"); + PROTO::xdgDecoration = std::make_unique(&zxdg_decoration_manager_v1_interface, 1, "XDGDecoration"); // Old protocol implementations. // TODO: rewrite them to use hyprwayland-scanner. -- cgit v1.2.3