Merge pull request #20 from lpoleto/multi_monitors

Use coordinates from primary monitor
master
jenslody 7 years ago committed by GitHub
commit e9a8196c8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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