Added swipe workspace gestures

This commit is contained in:
vaxerski
2022-07-07 11:52:12 +02:00
parent 1cf2f378d4
commit 4b796d30c1
11 changed files with 216 additions and 4 deletions

View File

@@ -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;
};