diff --git a/js/ui/overview.js b/js/ui/overview.js index e6b3b2615..529779ea8 100644 --- a/js/ui/overview.js +++ b/js/ui/overview.js @@ -642,6 +642,11 @@ var Overview = class { this.show(OverviewControls.ControlsState.APP_GRID); } + selectApp(id) { + this.showApps(); + this._overview.controls.appDisplay.selectApp(id); + } + runStartupAnimation(callback) { Main.panel.style = 'transition-duration: 0ms;'; diff --git a/js/ui/shellDBus.js b/js/ui/shellDBus.js index 3028dfb68..39f142af9 100644 --- a/js/ui/shellDBus.js +++ b/js/ui/shellDBus.js @@ -100,8 +100,7 @@ var GnomeShell = class { } FocusApp(id) { - this.ShowApplications(); - Main.overview.appDisplay.selectApp(id); + Main.overview.selectApp(id); } ShowApplications() {