Use coordinates from primary monitor

master
Luiz Poleto 8 years ago
parent c33034a917
commit 9199cf21df
  1. 2
      src/extension.js

@ -179,7 +179,7 @@ let setTestNotification = function(v) {
}; };
let updateAvailablePrimaryRect = function() { let updateAvailablePrimaryRect = function() {
let monitor=Main.layoutManager.monitors[0]; let monitor=Main.layoutManager.primaryMonitor;
_availablePrimaryRect.x=monitor.x; _availablePrimaryRect.x=monitor.x;
_availablePrimaryRect.y=monitor.y; _availablePrimaryRect.y=monitor.y;
_availablePrimaryRect.width=monitor.width; _availablePrimaryRect.width=monitor.width;

Loading…
Cancel
Save