diff --git a/js/ui/viewSelector.js b/js/ui/viewSelector.js index 648f6fa76..660f619a9 100644 --- a/js/ui/viewSelector.js +++ b/js/ui/viewSelector.js @@ -465,6 +465,9 @@ const ViewSelector = new Lang.Class({ }, _shouldTriggerSearch: function(symbol) { + if (symbol == Clutter.BackSpace && this._searchActive) + return true; + let unicode = Clutter.keysym_to_unicode(symbol); if (unicode == 0) return false; @@ -472,7 +475,7 @@ const ViewSelector = new Lang.Class({ if (getTermsForSearchString(String.fromCharCode(unicode)).length > 0) return true; - return symbol == Clutter.BackSpace && this._searchActive; + return false; }, startSearch: function(event) {