Skip to content

Instantly share code, notes, and snippets.

@glitsj16
Created January 24, 2020 12:03
Show Gist options
  • Save glitsj16/ea360b4c24ed33fe4bf752033249d799 to your computer and use it in GitHub Desktop.
Save glitsj16/ea360b4c24ed33fe4bf752033249d799 to your computer and use it in GitHub Desktop.
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) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment