Comment 5 for bug 1008245

Revision history for this message
Timo Reimerdes (timorei) wrote :

   var monitor_rect = screen.get_monitor_geometry (screen.get_primary_monitor());

This will give you the rectangle of the primary monitor in dual screen setup (tested with twinview setup).