mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
swipeTracker: Ignore Meta key while workspace scroll gesture is in progress
Workspace transition stopped midway when the Meta key
was released while the two-finger scroll gesture was
in progress. This commit ignores the Meta key once
the gesture has been confirmed and is in motion.
(cherry picked from commit 1260e35093)
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2181>
This commit is contained in:
parent
be3f54a861
commit
0f34bfebd4
1 changed files with 1 additions and 1 deletions
|
|
@ -365,7 +365,7 @@ const ScrollGesture = GObject.registerClass({
|
|||
if ((this._allowedModes & Main.actionMode) === 0)
|
||||
return false;
|
||||
|
||||
if (this.scrollModifiers !== 0 &&
|
||||
if (!this._began && this.scrollModifiers !== 0 &&
|
||||
(event.get_state() & this.scrollModifiers) === 0)
|
||||
return false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue