[gnome-shell/wip/exalm/gestures-part-3] fixup! swipeTracker: Introduce swipe tracker
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/exalm/gestures-part-3] fixup! swipeTracker: Introduce swipe tracker
- Date: Fri, 10 Jan 2020 09:53:52 +0000 (UTC)
commit d53f20e9f2d521f8bbf918401a5b9410ccdcebc9
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Fri Jan 10 14:47:18 2020 +0500
fixup! swipeTracker: Introduce swipe tracker
js/ui/swipeTracker.js | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/js/ui/swipeTracker.js b/js/ui/swipeTracker.js
index 4b247bfdd0..c9f19a8864 100644
--- a/js/ui/swipeTracker.js
+++ b/js/ui/swipeTracker.js
@@ -445,8 +445,11 @@ var SwipeTracker = GObject.registerClass({
/**
* canHandleScrollEvent:
- * @param {Clutter.Event} event: an event to check
+ * @param {number} event: an event to check
* @returns {bool} whether the event can be handled by the tracker
+ *
+ * This function can be used to combine swipe gesture and mouse
+ * scrolling.
*/
canHandleScrollEvent(event) {
if (!this.enabled || this._scrollGesture === null)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]