summaryrefslogtreecommitdiff
path: root/src/managers/ProtocolManager.cpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-04-21 20:04:58 +0100
committerVaxry <vaxry@vaxry.net>2024-04-21 20:04:58 +0100
commited69502ff6e79a6dad213333b0bc3a15e2247942 (patch)
tree614601e075e4c8129a88449687212b26ac096b11 /src/managers/ProtocolManager.cpp
parent4954dcbbb352a72d41b43a6ab107388c17a0b21b (diff)
xdg-decoration: move to new impl
Diffstat (limited to 'src/managers/ProtocolManager.cpp')
-rw-r--r--src/managers/ProtocolManager.cpp3
1 files changed, 3 insertions, 0 deletions
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<CCursorShapeProtocol>(&wp_cursor_shape_manager_v1_interface, 1, "CursorShape");
PROTO::idleInhibit = std::make_unique<CIdleInhibitProtocol>(&zwp_idle_inhibit_manager_v1_interface, 1, "IdleInhibit");
PROTO::relativePointer = std::make_unique<CRelativePointerProtocol>(&zwp_relative_pointer_manager_v1_interface, 1, "RelativePointer");
+ PROTO::xdgDecoration = std::make_unique<CXDGDecorationProtocol>(&zxdg_decoration_manager_v1_interface, 1, "XDGDecoration");
// Old protocol implementations.
// TODO: rewrite them to use hyprwayland-scanner.