summaryrefslogtreecommitdiff
path: root/src/managers/input/InputManager.hpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2022-07-07 13:49:43 +0200
committerGitHub <noreply@github.com>2022-07-07 13:49:43 +0200
commit3f43f94dc48f7d545609673f4474551ba215812a (patch)
treedcb4ecf68f775069629c6a7b6cbf70a204fe5c03 /src/managers/input/InputManager.hpp
parent5762e3b9e224a248701bfb62fd753270eec6b659 (diff)
parent4b796d30c190e14aa39a9540395523cee27bd348 (diff)
Merge pull request #318 from hyprwm/swipes
Added swipe workspace gestures
Diffstat (limited to 'src/managers/input/InputManager.hpp')
-rw-r--r--src/managers/input/InputManager.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/managers/input/InputManager.hpp b/src/managers/input/InputManager.hpp
index 3c6fb33d..3c91718c 100644
--- a/src/managers/input/InputManager.hpp
+++ b/src/managers/input/InputManager.hpp
@@ -65,6 +65,12 @@ public:
void newIdleInhibitor(wlr_idle_inhibitor_v1*);
void recheckIdleInhibitorStatus();
+ void onSwipeBegin(wlr_pointer_swipe_begin_event*);
+ void onSwipeEnd(wlr_pointer_swipe_end_event*);
+ void onSwipeUpdate(wlr_pointer_swipe_update_event*);
+
+ SSwipeGesture m_sActiveSwipe;
+
SKeyboard* m_pActiveKeyboard = nullptr;
CTimer m_tmrLastCursorMovement;