[AppIcon] Leave overview when launching apps
There was an unintentional regression at some point where we ceased leaving the overview when launching applications. Fix this. https://bugzilla.gnome.org/show_bug.cgi?id=608062
This commit is contained in:
parent
be2801d1fa
commit
0a566f70b6
@ -475,11 +475,13 @@ AppWellIcon.prototype = {
|
|||||||
|
|
||||||
if (!running) {
|
if (!running) {
|
||||||
this.app.launch();
|
this.app.launch();
|
||||||
|
Main.overview.hide();
|
||||||
} else {
|
} else {
|
||||||
let modifiers = Shell.get_event_state(event);
|
let modifiers = Shell.get_event_state(event);
|
||||||
|
|
||||||
if (modifiers & Clutter.ModifierType.CONTROL_MASK) {
|
if (modifiers & Clutter.ModifierType.CONTROL_MASK) {
|
||||||
this.app.launch();
|
this.app.launch();
|
||||||
|
Main.overview.hide();
|
||||||
} else {
|
} else {
|
||||||
this.activateMostRecentWindow();
|
this.activateMostRecentWindow();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user