diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-04-24 21:12:26 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-04-24 21:36:56 +0100 |
| commit | 3878f806ff771651829977a01b84313c34997285 (patch) | |
| tree | d65c85b54898a98e197f97fc42c2af1fbfebdf65 /src/managers/ProtocolManager.cpp | |
| parent | d86eec332fb3843d24b1f79ecc36f792b5d04773 (diff) | |
pointer-gestures: move to new impl
Diffstat (limited to 'src/managers/ProtocolManager.cpp')
| -rw-r--r-- | src/managers/ProtocolManager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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<CAlphaModifierProtocol>(&wp_alpha_modifier_v1_interface, 1, "AlphaModifier"); PROTO::gamma = std::make_unique<CGammaControlProtocol>(&zwlr_gamma_control_manager_v1_interface, 1, "GammaControl"); PROTO::foreignToplevel = std::make_unique<CForeignToplevelProtocol>(&ext_foreign_toplevel_list_v1_interface, 1, "ForeignToplevel"); + PROTO::pointerGestures = std::make_unique<CPointerGesturesProtocol>(&zwp_pointer_gestures_v1_interface, 3, "PointerGestures"); // Old protocol implementations. // TODO: rewrite them to use hyprwayland-scanner. |
