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: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1839>
This commit is contained in:
parent
234024c4f4
commit
2b2a71832a
@ -1714,8 +1714,10 @@ var WindowManager = class {
|
|||||||
let [, , , target] = binding.get_name().split('-');
|
let [, , , target] = binding.get_name().split('-');
|
||||||
let apps = AppFavorites.getAppFavorites().getFavorites();
|
let apps = AppFavorites.getAppFavorites().getFavorites();
|
||||||
let app = apps[target - 1];
|
let app = apps[target - 1];
|
||||||
if (app)
|
if (app) {
|
||||||
|
Main.overview.hide();
|
||||||
app.activate();
|
app.activate();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
_toggleAppMenu() {
|
_toggleAppMenu() {
|
||||||
|
Loading…
Reference in New Issue
Block a user