diff --git a/js/ui/swipeTracker.js b/js/ui/swipeTracker.js index 77536e47666ac37d7bbf7fe65cb53356725493c2..818d101938c6fb09969b905c5f99eb2d7977fab7 100644 --- a/js/ui/swipeTracker.js +++ b/js/ui/swipeTracker.js @@ -58,7 +58,7 @@ const TouchpadSwipeGesture = GObject.registerClass({ this._orientation = Clutter.Orientation.VERTICAL; this._enabled = true; - global.stage.connect('captured-event', this._handleEvent.bind(this)); + global.stage.connect('captured-event::touchpad', this._handleEvent.bind(this)); } get enabled() { diff --git a/js/ui/viewSelector.js b/js/ui/viewSelector.js index 8acea0c03df323b2bca9753e6cf27baa0d78ec7b..5c0dd9bb750fb0ebd215d54099560167f873cc2a 100644 --- a/js/ui/viewSelector.js +++ b/js/ui/viewSelector.js @@ -44,7 +44,7 @@ function getTermsForSearchString(searchString) { var TouchpadShowOverviewAction = class { constructor(actor) { - actor.connect('captured-event', this._handleEvent.bind(this)); + actor.connect('captured-event::touchpad', this._handleEvent.bind(this)); } _handleEvent(actor, event) {