From 2b2a71832aed06bd34871974a1a9f365bb2bbb6b Mon Sep 17 00:00:00 2001 From: Nishal Kulkarni Date: Sat, 8 May 2021 15:58:06 +0530 Subject: [PATCH] windowManager: Hide overview on using hotkey Change behavior on pressing Super+Number in Activities/Overview mode so that the overview mode is hidden and application can be used. This makes it consistent with clicking icon in the dash. Closes: #4212 Part-of: --- js/ui/windowManager.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js index 34c54b61e..5a3327b1b 100644 --- a/js/ui/windowManager.js +++ b/js/ui/windowManager.js @@ -1714,8 +1714,10 @@ var WindowManager = class { let [, , , target] = binding.get_name().split('-'); let apps = AppFavorites.getAppFavorites().getFavorites(); let app = apps[target - 1]; - if (app) + if (app) { + Main.overview.hide(); app.activate(); + } } _toggleAppMenu() {