aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/managers/ProtocolManager.cpp
diff options
context:
space:
mode:
authorVaxry <[email protected]>2023-07-18 15:30:28 +0200
committerGitHub <[email protected]>2023-07-18 15:30:28 +0200
commit8370a7fcc4627e6f21395cc8b81298369be5cdaf (patch)
tree6be17dc7ba367ea7322d81f20b89b5cdf7defc4d /src/managers/ProtocolManager.cpp
parent629e61c7a56561ee5d565dda6d0d8b7c41dbe9c7 (diff)
downloadHyprland-8370a7fcc4627e6f21395cc8b81298369be5cdaf.tar.gz
Hyprland-8370a7fcc4627e6f21395cc8b81298369be5cdaf.zip
internal: Protocol C++ Wraps + XDGOutput impl (#2733)
move to our own xdgoutput impl instead of wlr's
Diffstat (limited to 'src/managers/ProtocolManager.cpp')
-rw-r--r--src/managers/ProtocolManager.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/managers/ProtocolManager.cpp b/src/managers/ProtocolManager.cpp
index 205f3d02..bc3a4570 100644
--- a/src/managers/ProtocolManager.cpp
+++ b/src/managers/ProtocolManager.cpp
@@ -1,9 +1,13 @@
#include "ProtocolManager.hpp"
+#include "xdg-output-unstable-v1-protocol.h"
+
CProtocolManager::CProtocolManager() {
m_pToplevelExportProtocolManager = std::make_unique<CToplevelExportProtocolManager>();
m_pFractionalScaleProtocolManager = std::make_unique<CFractionalScaleProtocolManager>();
m_pTextInputV1ProtocolManager = std::make_unique<CTextInputV1ProtocolManager>();
m_pGlobalShortcutsProtocolManager = std::make_unique<CGlobalShortcutsProtocolManager>();
m_pScreencopyProtocolManager = std::make_unique<CScreencopyProtocolManager>();
-} \ No newline at end of file
+
+ m_pXDGOutputProtocol = std::make_unique<CXDGOutputProtocol>(&zxdg_output_manager_v1_interface, 3, "XDGOutput");
+}