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>
This commit is contained in:
parent
55fcb3aa00
commit
dfae3281b9
@ -287,6 +287,7 @@ var WorkspaceAnimationController = class {
|
|||||||
Clutter.Orientation.HORIZONTAL,
|
Clutter.Orientation.HORIZONTAL,
|
||||||
Shell.ActionMode.NORMAL,
|
Shell.ActionMode.NORMAL,
|
||||||
{ allowDrag: false });
|
{ allowDrag: false });
|
||||||
|
swipeTracker.allowLongSwipes = true;
|
||||||
swipeTracker.connect('begin', this._switchWorkspaceBegin.bind(this));
|
swipeTracker.connect('begin', this._switchWorkspaceBegin.bind(this));
|
||||||
swipeTracker.connect('update', this._switchWorkspaceUpdate.bind(this));
|
swipeTracker.connect('update', this._switchWorkspaceUpdate.bind(this));
|
||||||
swipeTracker.connect('end', this._switchWorkspaceEnd.bind(this));
|
swipeTracker.connect('end', this._switchWorkspaceEnd.bind(this));
|
||||||
|
Loading…
Reference in New Issue
Block a user