swipe: Touchscreen workspace swipe (#4489)
* Workspace Swipe: Refactor update and end functions * Touch: Implement workspace swipe better ignoring additional fingers and new touches allow gaps-right and gaps-left to be different
This commit is contained in:
parent
3ed3b34c4a
commit
3c21f5e07b
5 changed files with 81 additions and 4 deletions
|
|
@ -283,6 +283,7 @@ struct SSwipeGesture {
|
|||
int initialDirection = 0;
|
||||
float avgSpeed = 0;
|
||||
int speedPoints = 0;
|
||||
int touch_id = 0;
|
||||
|
||||
CMonitor* pMonitor = nullptr;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue