From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 885 invoked by alias); 5 May 2014 20:03:38 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Received: (qmail 868 invoked by uid 89); 5 May 2014 20:03:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: smtpout11.bt.lon5.cpcloud.co.uk Received: from smtpout11.bt.lon5.cpcloud.co.uk (HELO smtpout11.bt.lon5.cpcloud.co.uk) (65.20.0.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 05 May 2014 20:03:35 +0000 X-CTCH-RefID: str=0001.0A090205.5367EE94.00E8,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-Junkmail-Premium-Raw: score=8/97,refid=2.7.2:2014.5.4.120618:17:8.317,ip=,rules=__MOZILLA_MSGID, __HAS_MSGID, __SANE_MSGID, __HAS_FROM, __HAS_REPLYTO, __USER_AGENT, __MOZILLA_USER_AGENT, __MIME_VERSION, __TO_MALFORMED_2, __TO_NO_NAME, __BOUNCE_CHALLENGE_SUBJ, __BOUNCE_NDR_SUBJ_EXEMPT, __SUBJ_ALPHA_END, __IN_REP_TO, __CT, __CT_TEXT_PLAIN, __CTE, __ANY_URI, URI_ENDS_IN_HTML, __URI_NO_MAILTO, __URI_NO_WWW, __URI_NO_PATH, __SUBJ_ALPHA_NEGATE, __FORWARDED_MSG, BODYTEXTP_SIZE_3000_LESS, BODY_SIZE_2000_2999, __MIME_TEXT_ONLY, __URI_NS, HTML_00_01, HTML_00_10, BODY_SIZE_5000_LESS, REPLYTO_FROM_DIFF_ADDY, BODY_SIZE_7000_LESS X-CTCH-Spam: Unknown Received: from [192.168.1.93] (86.174.34.79) by smtpout11.bt.lon5.cpcloud.co.uk (8.6.100.99.10223) (authenticated as jonturney@btinternet.com) id 53627529004085C6; Mon, 5 May 2014 21:03:32 +0100 Message-ID: <5367EE90.4000205@dronecode.org.uk> Date: Mon, 05 May 2014 20:03:00 -0000 From: Jon TURNEY Reply-To: cygwin-xfree@cygwin.com User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com CC: lukashaase@gmx.at Subject: Re: XWin ignores all parameters related to multiple monitors References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2014-05/txt/msg00002.txt.bz2 On 04/05/2014 06:56, Lukas Haase wrote: > I use Cygwin/X to display a CAD application on my Windows cient. For > some reason new windows always open on the secondary display and I > always need to manually drag them to my primary display. That's sooo > annoying (since UNIX applications tend to open new windows on every action). I'm assuming that your secondary display is to the left of your primary display. I think that it's a bug that these windows are appearing at the top-left, rather than on the primary display, in that we don't distinguish well enough between "the application asked us to place the window at 0x0" and "the application didn't specify where to put the window" It would help if you could give the name of this application, and can you install 'xprop', and show the output you get from running that, then clicking on one of the window which gets placed incorrectly. > To avoid this, I want to disable the second monitor (and *only* use the > primary). But whatever I do, XWin seems to ignore whatever I supply. For > example, I start > > /usr/bin/startxwin.exe -- -nomultiplemonitors > /usr/bin/startxwin.exe -- -screen 0 @1 -nomultiplemonitors > /usr/bin/startxwin.exe -- -screen 0 @1 > /usr/bin/startxwin.exe -- -mwextwm -screen 0 @1 -nomultiplemonitors > > and so on. > Nothing works - everything as before. When I select "Hide Root Window" > from the tray icon I see that the root window indeed covers both monitors. This is not how it behaves for me. Using -nomultiplemontiors, or an explicit -screen setting shows an appropriately sized root window when turning off "Hide Root Window". (Although this is not terribly useful as you can move the Windows windows out of this area, which causes their contents to not be drawn) Can you check if the screen dimensions reported by xdpyinfo match those you are requesting, and attach your /var/log/xwin/XWin.0.log? Separately, it's possible that we should do something better with the combination of -nomultiplemontors and -multiwindow, but it's not quite clear to me what. (See discussion [1]) [1] https://sourceware.org/ml/cygwin-xfree/2011-07/msg00007.html -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- 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/