diff --git a/js/ui/searchController.js b/js/ui/searchController.js index ac22439a4..ba743a909 100644 --- a/js/ui/searchController.js +++ b/js/ui/searchController.js @@ -228,10 +228,7 @@ var SearchController = GObject.registerClass({ startSearch(event) { global.stage.set_key_focus(this._text); - - let synthEvent = event.copy(); - synthEvent.set_source(this._text); - this._text.event(synthEvent, false); + this._text.event(event, false); } // the entry does not show the hint