[AppSwitcher] Fix hiding the arrow on application change.
The down arrow is shown when an application with more than one window is selected, but the window list is not always displayed. This patch fixes the fact that the arrow was not hidden when one focus an app with a single window when coming from an app with multiple windows, if the window list was not displayed. https://bugzilla.gnome.org/show_bug.cgi?id=597791
This commit is contained in:
parent
a26b0b60d1
commit
8929f43ad9
@ -248,9 +248,11 @@ AltTabPopup.prototype = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
_select : function(app, window, noTimeout) {
|
_select : function(app, window, noTimeout) {
|
||||||
if ((app != this._currentApp || !window) && this._thumbnails) {
|
if (app != this._currentApp || !window) {
|
||||||
|
if (this._thumbnails) {
|
||||||
this._thumbnails.actor.destroy();
|
this._thumbnails.actor.destroy();
|
||||||
this._thumbnails = null;
|
this._thumbnails = null;
|
||||||
|
}
|
||||||
this._appSwitcher.showArrow(-1);
|
this._appSwitcher.showArrow(-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user