aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/managers/ProtocolManager.cpp
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-05-11 17:13:20 +0100
committerVaxry <[email protected]>2024-05-14 23:13:35 +0100
commit7eeee2c94e882a5df1914234df0571b221f9aa35 (patch)
tree51099a811781579c68724b4a0d6fe5bb4ab87a02 /src/managers/ProtocolManager.cpp
parentfc72df8e58bc127442a245f2f29a3246acf77cce (diff)
downloadHyprland-7eeee2c94e882a5df1914234df0571b221f9aa35.tar.gz
Hyprland-7eeee2c94e882a5df1914234df0571b221f9aa35.zip
wl-data-device: move to hyprland impl
Diffstat (limited to 'src/managers/ProtocolManager.cpp')
-rw-r--r--src/managers/ProtocolManager.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/managers/ProtocolManager.cpp b/src/managers/ProtocolManager.cpp
index e53eb111..8167103f 100644
--- a/src/managers/ProtocolManager.cpp
+++ b/src/managers/ProtocolManager.cpp
@@ -28,13 +28,16 @@
#include "../protocols/Tablet.hpp"
#include "../protocols/LayerShell.hpp"
#include "../protocols/PresentationTime.hpp"
-#include "../protocols/core/Seat.hpp"
#include "../protocols/XDGShell.hpp"
+#include "../protocols/core/Seat.hpp"
+#include "../protocols/core/DataDevice.hpp"
+
CProtocolManager::CProtocolManager() {
// Core
PROTO::seat = std::make_unique<CWLSeatProtocol>(&wl_seat_interface, 9, "WLSeat");
+ PROTO::data = std::make_unique<CWLDataDeviceProtocol>(&wl_data_device_manager_interface, 3, "WLDataDevice");
// Extensions
PROTO::tearing = std::make_unique<CTearingControlProtocol>(&wp_tearing_control_manager_v1_interface, 1, "TearingControl");