windowManager: Make workspace switching gestures follow motion

Desktop / GNOME / GNOME Shell - Carlos Garnacho [gnome.org] - 30 July 2018 21:20 UTC

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.

https://bugzilla.gnome.org/show_bug.cgi?id=788994

ebe6f59d7 windowManager: Make workspace switching gestures follow motion
js/ui/windowManager.js | 126 +++++++++++++++++++++++++++++++++++++++++--------
1 file changed, 107 insertions(+), 19 deletions(-)

Upstream: git.gnome.org


  • Share