summaryrefslogtreecommitdiff
path: root/src/managers/ProtocolManager.cpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-05-10 02:27:54 +0100
committerVaxry <vaxry@vaxry.net>2024-05-10 02:38:54 +0100
commita7e23d2f1e27c241c2a72262d14d5dde9ea2e860 (patch)
tree72e9a6b77208f14788cd1387eb147a9475bb3229 /src/managers/ProtocolManager.cpp
parent1753059b07be52cf78fa2676c4c71d2edb560199 (diff)
presentation-time: move to new impl
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 73f33a20..2904ed53 100644
--- a/src/managers/ProtocolManager.cpp
+++ b/src/managers/ProtocolManager.cpp
@@ -27,6 +27,7 @@
#include "../protocols/FocusGrab.hpp"
#include "../protocols/Tablet.hpp"
#include "../protocols/LayerShell.hpp"
+#include "../protocols/PresentationTime.hpp"
CProtocolManager::CProtocolManager() {
@@ -57,6 +58,7 @@ CProtocolManager::CProtocolManager() {
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");
+ PROTO::presentation = std::make_unique<CPresentationProtocol>(&wp_presentation_interface, 1, "Presentation");
// Old protocol implementations.
// TODO: rewrite them to use hyprwayland-scanner.