[gnome-shell/wip/exalm/gesture-fix: 1/2] swipeTracker: Reset scroll gesture state on disabling
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/exalm/gesture-fix: 1/2] swipeTracker: Reset scroll gesture state on disabling
- Date: Wed, 5 Feb 2020 20:00:57 +0000 (UTC)
commit edd900b0e0b8f3419ed3d84269e04848de79bb2e
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Thu Feb 6 00:51:45 2020 +0500
swipeTracker: Reset scroll gesture state on disabling
Ensure that scrolling works correctly next time it's enabled.
https://gitlab.gnome.org/GNOME/gnome-shell/issues/2177
js/ui/swipeTracker.js | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/js/ui/swipeTracker.js b/js/ui/swipeTracker.js
index 65c3d0d649..77536e4766 100644
--- a/js/ui/swipeTracker.js
+++ b/js/ui/swipeTracker.js
@@ -270,6 +270,8 @@ const ScrollGesture = GObject.registerClass({
return;
this._enabled = enabled;
+ this._began = false;
+
this.notify('enabled');
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]