[gnome-shell] workspaceAnimation: Allow long swipes in session
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] workspaceAnimation: Allow long swipes in session
- Date: Sun, 30 May 2021 15:24:52 +0000 (UTC)
commit dfae3281b9a7fe6f5ccb6e9c175591a5ce31fd73
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Sun May 30 12:02:12 2021 -0300
workspaceAnimation: Allow long swipes in session
As per design feedback, allow long swipes in the session too.
See https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3802#note_1124701
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1865>
js/ui/workspaceAnimation.js | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/js/ui/workspaceAnimation.js b/js/ui/workspaceAnimation.js
index d240fe1562..0eec196bc0 100644
--- a/js/ui/workspaceAnimation.js
+++ b/js/ui/workspaceAnimation.js
@@ -287,6 +287,7 @@ var WorkspaceAnimationController = class {
Clutter.Orientation.HORIZONTAL,
Shell.ActionMode.NORMAL,
{ allowDrag: false });
+ swipeTracker.allowLongSwipes = true;
swipeTracker.connect('begin', this._switchWorkspaceBegin.bind(this));
swipeTracker.connect('update', this._switchWorkspaceUpdate.bind(this));
swipeTracker.connect('end', this._switchWorkspaceEnd.bind(this));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]