aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/managers/ProtocolManager.cpp
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-05-09 21:47:21 +0100
committerVaxry <[email protected]>2024-05-09 22:02:18 +0100
commit635a02d83fe9d598cf5f6aba47e672647608fb76 (patch)
tree71f5e2ad0991af3086602c5b30b1411ee4c04562 /src/managers/ProtocolManager.cpp
parent85f7f69046c07c61f59b0ef7cccd01e88b316413 (diff)
downloadHyprland-635a02d83fe9d598cf5f6aba47e672647608fb76.tar.gz
Hyprland-635a02d83fe9d598cf5f6aba47e672647608fb76.zip
layer-shell: move to new impl
Also bumps the hw-s dep
Diffstat (limited to 'src/managers/ProtocolManager.cpp')
-rw-r--r--src/managers/ProtocolManager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/managers/ProtocolManager.cpp b/src/managers/ProtocolManager.cpp
index 60fde1aa..73f33a20 100644
--- a/src/managers/ProtocolManager.cpp
+++ b/src/managers/ProtocolManager.cpp
@@ -26,6 +26,7 @@
#include "../protocols/ServerDecorationKDE.hpp"
#include "../protocols/FocusGrab.hpp"
#include "../protocols/Tablet.hpp"
+#include "../protocols/LayerShell.hpp"
CProtocolManager::CProtocolManager() {
@@ -55,6 +56,7 @@ CProtocolManager::CProtocolManager() {
PROTO::serverDecorationKDE = std::make_unique<CServerDecorationKDEProtocol>(&org_kde_kwin_server_decoration_manager_interface, 1, "ServerDecorationKDE");
PROTO::focusGrab = std::make_unique<CFocusGrabProtocol>(&hyprland_focus_grab_manager_v1_interface, 1, "FocusGrab");
PROTO::tablet = std::make_unique<CTabletV2Protocol>(&zwp_tablet_manager_v2_interface, 1, "TabletV2");
+ PROTO::layerShell = std::make_unique<CLayerShellProtocol>(&zwlr_layer_shell_v1_interface, 5, "LayerShell");
// Old protocol implementations.
// TODO: rewrite them to use hyprwayland-scanner.