When 4fg swipe motion happens, set up early the workspace switching animation with all surrounding workspaces. This allows us to move all content back and forth in any direction. This works on both touchcreens and touchpads.
When the gesture is activated, the same data is reused to follow up with the tween animation.
The threshold has been also doubled, it was fairly small to start with, and feels better now that workspaces stick to fingers.
ebe6f59d7 windowManager: Make workspace switching gestures follow motion
js/ui/windowManager.js | 126 +++++++++++++++++++++++++++++++++++++++++--------
1 file changed, 107 insertions(+), 19 deletions(-)