public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Jon TURNEY <jon.turney@dronecode.org.uk>
To: cygwin-xfree@cygwin.com
Cc: joerg_ml@bitplanet.de
Subject: Re: [PATCH] Fix command line arguments for multiple monitors
Date: Tue, 17 Apr 2012 10:02:00 -0000	[thread overview]
Message-ID: <4F8D3FBE.50007@dronecode.org.uk> (raw)
In-Reply-To: <m3fwc6z61c.fsf@msgid.bitplanet.de>

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
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


  reply	other threads:[~2012-04-17 10:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-14 15:29 Jörg Mensmann
2012-04-17 10:02 ` Jon TURNEY [this message]
2012-04-17 20:09   ` Jörg Mensmann
2012-04-18 18:49     ` Jörg Mensmann
2012-04-23 12:22       ` Jon TURNEY

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F8D3FBE.50007@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=cygwin-xfree@cygwin.com \
    --cc=joerg_ml@bitplanet.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).