From 8370a7fcc4627e6f21395cc8b81298369be5cdaf Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Tue, 18 Jul 2023 15:30:28 +0200 Subject: internal: Protocol C++ Wraps + XDGOutput impl (#2733) move to our own xdgoutput impl instead of wlr's --- src/managers/ProtocolManager.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/managers/ProtocolManager.cpp') 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(); m_pFractionalScaleProtocolManager = std::make_unique(); m_pTextInputV1ProtocolManager = std::make_unique(); m_pGlobalShortcutsProtocolManager = std::make_unique(); m_pScreencopyProtocolManager = std::make_unique(); -} \ No newline at end of file + + m_pXDGOutputProtocol = std::make_unique(&zxdg_output_manager_v1_interface, 3, "XDGOutput"); +} -- cgit v1.2.3