status/backgroundApps: Close after activating app
We should leave the overview and close quick settings, like we do elsewhere when launching something. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6895 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2884>
This commit is contained in:
parent
a740bb65d3
commit
05f5532c7d
@ -95,7 +95,11 @@ const BackgroundAppMenuItem = GObject.registerClass({
|
||||
|
||||
closeButton.connect('clicked', () => this._quitApp().catch(logError));
|
||||
|
||||
this.connect('activate', () => this.app.activate());
|
||||
this.connect('activate', () => {
|
||||
Main.overview.hide();
|
||||
Main.panel.closeQuickSettings();
|
||||
this.app.activate();
|
||||
});
|
||||
|
||||
this.connect('destroy', () => this._onDestroy());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user