mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
Only check monitor index if multi monitor is enabled.
This commit is contained in:
committed by
Krishna Lingashetty
parent
e2eeb02901
commit
2c7f0c00a7
@@ -519,7 +519,9 @@ var taskbarAppIcon = new Lang.Class({
|
||||
},
|
||||
|
||||
_checkIfMonitorHasFocus: function() {
|
||||
return global.display.focus_window && global.display.focus_window.get_monitor() === this.panelWrapper.monitor.index;
|
||||
return global.display.focus_window
|
||||
&& (!this._dtpSettings.get_boolean('multi-monitors') // only check same monitor index if multi window is enabled.
|
||||
|| global.display.focus_window.get_monitor() === this.panelWrapper.monitor.index);
|
||||
},
|
||||
|
||||
_setAppIconPadding: function() {
|
||||
|
||||
Reference in New Issue
Block a user