summaryrefslogtreecommitdiff
path: root/src/managers/input/trackpad/TrackpadGestures.hpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2025-09-08 20:24:45 +0100
committerVaxry <vaxry@vaxry.net>2025-09-08 20:24:51 +0100
commit1e3a06560fa6b2d906f8ecc9ec41b50e9b034cef (patch)
treec90c3678c1170e3dba57a3a1245b9ff575881884 /src/managers/input/trackpad/TrackpadGestures.hpp
parentb619f39555b96c70330f4a933dedde7e897e0d81 (diff)
gestures: add unset
ref https://github.com/hyprwm/Hyprland/pull/11490
Diffstat (limited to 'src/managers/input/trackpad/TrackpadGestures.hpp')
-rw-r--r--src/managers/input/trackpad/TrackpadGestures.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/managers/input/trackpad/TrackpadGestures.hpp b/src/managers/input/trackpad/TrackpadGestures.hpp
index 3d0745df..411a1fbb 100644
--- a/src/managers/input/trackpad/TrackpadGestures.hpp
+++ b/src/managers/input/trackpad/TrackpadGestures.hpp
@@ -12,6 +12,7 @@ class CTrackpadGestures {
public:
void clearGestures();
std::expected<void, std::string> addGesture(UP<ITrackpadGesture>&& gesture, size_t fingerCount, eTrackpadGestureDirection direction, uint32_t modMask, float deltaScale);
+ std::expected<void, std::string> removeGesture(size_t fingerCount, eTrackpadGestureDirection direction, uint32_t modMask, float deltaScale);
void gestureBegin(const IPointer::SSwipeBeginEvent& e);
void gestureUpdate(const IPointer::SSwipeUpdateEvent& e);