Fix indicator opening favorite secondary monitor

fixes #1566
This commit is contained in:
Charles Gagnon
2022-04-24 10:46:55 -04:00
parent 56b235b565
commit 71753d8ccd

View File

@@ -376,8 +376,8 @@ var TaskbarAppIcon = GObject.registerClass({
this.updateIcon();
}
onWindowEnteredOrLeft() {
if (this._checkIfFocusedApp()) {
onWindowEnteredOrLeft(display, number, metaWindow) {
if (number > 0 && tracker.get_window_app(metaWindow) == this.app) {
this._updateWindows();
this._displayProperIndicator();
}