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: lukashaase@gmx.at
Subject: Re: XWin ignores all parameters related to multiple monitors
Date: Mon, 05 May 2014 20:03:00 -0000	[thread overview]
Message-ID: <5367EE90.4000205@dronecode.org.uk> (raw)
In-Reply-To: <lk4kr7$t4p$1@ger.gmane.org>

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/


  reply	other threads:[~2014-05-05 20:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-04  6:06 Lukas Haase
2014-05-05 20:03 ` Jon TURNEY [this message]
2014-05-06 21:54   ` Lukas Haase
2014-05-08 12:15     ` Jon TURNEY
2014-05-08 23:28       ` Lukas Haase
2014-05-09 10:15         ` Jon TURNEY
2014-05-09 20:26           ` Lukas Haase
2014-06-19 21:38             ` 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=5367EE90.4000205@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=cygwin-xfree@cygwin.com \
    --cc=lukashaase@gmx.at \
    /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).