diff options
| author | Vaxry <vaxry@vaxry.net> | 2025-09-08 20:24:45 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2025-09-08 20:24:51 +0100 |
| commit | 1e3a06560fa6b2d906f8ecc9ec41b50e9b034cef (patch) | |
| tree | c90c3678c1170e3dba57a3a1245b9ff575881884 /src/managers/input/trackpad/TrackpadGestures.hpp | |
| parent | b619f39555b96c70330f4a933dedde7e897e0d81 (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.hpp | 1 |
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); |
