From 3878f806ff771651829977a01b84313c34997285 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Wed, 24 Apr 2024 21:12:26 +0100 Subject: pointer-gestures: move to new impl --- src/managers/ProtocolManager.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/managers/ProtocolManager.cpp') diff --git a/src/managers/ProtocolManager.cpp b/src/managers/ProtocolManager.cpp index 53535346..3552fd9c 100644 --- a/src/managers/ProtocolManager.cpp +++ b/src/managers/ProtocolManager.cpp @@ -10,6 +10,7 @@ #include "../protocols/AlphaModifier.hpp" #include "../protocols/GammaControl.hpp" #include "../protocols/ForeignToplevel.hpp" +#include "../protocols/PointerGestures.hpp" #include "tearing-control-v1.hpp" #include "fractional-scale-v1.hpp" @@ -21,6 +22,7 @@ #include "alpha-modifier-v1.hpp" #include "wlr-gamma-control-unstable-v1.hpp" #include "ext-foreign-toplevel-list-v1.hpp" +#include "pointer-gestures-unstable-v1.hpp" CProtocolManager::CProtocolManager() { @@ -34,6 +36,7 @@ CProtocolManager::CProtocolManager() { PROTO::alphaModifier = std::make_unique(&wp_alpha_modifier_v1_interface, 1, "AlphaModifier"); PROTO::gamma = std::make_unique(&zwlr_gamma_control_manager_v1_interface, 1, "GammaControl"); PROTO::foreignToplevel = std::make_unique(&ext_foreign_toplevel_list_v1_interface, 1, "ForeignToplevel"); + PROTO::pointerGestures = std::make_unique(&zwp_pointer_gestures_v1_interface, 3, "PointerGestures"); // Old protocol implementations. // TODO: rewrite them to use hyprwayland-scanner. -- cgit v1.2.3