This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: Starting X on a second monitor - kludge that works
- From: Alexander Gottwald <alexander dot gottwald at s1999 dot tu-chemnitz dot de>
- To: cygwin-xfree at cygwin dot com
- Date: Mon, 6 Dec 2004 13:14:57 +0100 (MET)
- Subject: RE: Starting X on a second monitor - kludge that works
- Reply-to: cygwin-xfree at cygwin dot com
On Mon, 6 Dec 2004, Mark Fisher wrote:
> excellent.
> my only query now is how do I programaticaly find out
> the offset of my second monitor, as I have it slightly
> raised from the primary, as opposed to simply placed side
> by side.
the windows function EnumDisplayMonitor will let you iterate over all
screens and gives you the rectangle for each screen. It should not be
too difficult to extend the screen parameter like this
-screen 800x600@2 which means a window of size 800x600 on monitor 2
Patches are welcome.
bye
ago
--
Alexander.Gottwald@s1999.tu-chemnitz.de
http://www.gotti.org ICQ: 126018723