--- js/ui/hotCorner.js.t 2022-05-11 14:55:14.001483632 -0700 +++ js/ui/hotCorner.js 2022-05-11 14:56:59.370866099 -0700 @@ -55,11 +55,14 @@ return true; }, - updatePosition: function(monitor) { - let left = monitor.x; - let right = monitor.x + monitor.width - 2; - let top = monitor.y; - let bottom = monitor.y + monitor.height - 2; + updatePosition: function(...monitors) { + let left=0, right=0, top=0, bottom=0; + for (var monitor of monitors) { + let left = Math.min(left, monitor.x); + let right = Math.min(right, monitor.x + monitor.width - 2); + let top = Math.min(top, monitor.y); + let bottom = Math.min(bottom, monitor.y + monitor.height - 2); + } // Top Left: 0 this.corners[0].actor.set_position(left, top); --- js/ui/layout.js.t 2022-05-11 14:57:31.549838005 -0700 +++ js/ui/layout.js 2022-05-11 14:57:43.758977389 -0700 @@ -145,7 +145,7 @@ _updateBoxes: function() { if (this.hotCornerManager) - this.hotCornerManager.updatePosition(this.primaryMonitor); + this.hotCornerManager.updatePosition(this.monitors); this._chrome._queueUpdateRegions(); },