[panel] don't empty out the app menu when the panel itself gets focus
https://bugzilla.gnome.org/show_bug.cgi?id=623429
This commit is contained in:
parent
adbf3b1c37
commit
539ad8196e
@ -439,6 +439,14 @@ AppMenuButton.prototype = {
|
|||||||
this._stopAnimation();
|
this._stopAnimation();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!focusedApp) {
|
||||||
|
// If the app has just lost focus to the panel, pretend
|
||||||
|
// nothing happened; otherwise you can't keynav to the
|
||||||
|
// app menu.
|
||||||
|
if (global.stage_input_mode == Shell.StageInputMode.FOCUSED)
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (this._iconBox.child != null)
|
if (this._iconBox.child != null)
|
||||||
this._iconBox.child.destroy();
|
this._iconBox.child.destroy();
|
||||||
this._iconBox.hide();
|
this._iconBox.hide();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user