[PATCH] Fix command line arguments for multiple monitors
Tue Apr 17 10:02:00 GMT 2012
On 14/04/2012 16:28, JÃ¶rg Mensmann wrote:
> placing the X server on a specific monitor using something like
> "-screen 0 @2" is broken since November. The attached patch restores the
> old behaviour.
Thanks very much for investigating this issue and for the patch.
I'll include this in the next X server build.
> This happened since commit 3ead1d810b0e157078db39712e02ea6dc85216d8,
> because EnumDisplayMonitor() returns FALSE if its callback function
> returns FALSE (which is not clearly documented), and QueryMonitor()
> would then also return FALSE.
I don't observe this behaviour on my test machine, EnumDisplayMonitor()
returns TRUE, so I'd be interested to know what version of Windows you are using.
I am a little concerned that I can't find any evidence using google of anyone
else reporting having the MonitorEnumProc callback function return FALSE to
terminate the enumeration causes EnumDisplayMonitor() to return 0, indicating
failure, so maybe there is something else going on here...
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin-xfree