diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-07-07 11:52:12 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-07-07 13:49:04 +0200 |
| commit | 4b796d30c190e14aa39a9540395523cee27bd348 (patch) | |
| tree | 3ad84df935c95aa18bbc47e80f290e1f38a8f365 /src/helpers/WLClasses.hpp | |
| parent | 1cf2f378d4a0e5e3da757d90404c2816a6765626 (diff) | |
Added swipe workspace gestures
Diffstat (limited to 'src/helpers/WLClasses.hpp')
| -rw-r--r-- | src/helpers/WLClasses.hpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/helpers/WLClasses.hpp b/src/helpers/WLClasses.hpp index b06390b5..b6c38416 100644 --- a/src/helpers/WLClasses.hpp +++ b/src/helpers/WLClasses.hpp @@ -239,3 +239,14 @@ struct SIdleInhibitor { return pWlrInhibitor == b.pWlrInhibitor; } }; + +struct SSwipeGesture { + CWorkspace* pWorkspaceBegin = nullptr; + + double delta = 0; + + float avgSpeed = 0; + int speedPoints = 0; + + SMonitor* pMonitor = nullptr; +};
\ No newline at end of file |
