X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:content-type; q=dns; s=default; b=Biq6muN
	N6XVRXBIGNddk7bkQ5g5PuUA6lxO+BBxErjz6uVwcYxxpyBc/SC46vmCW3Yc/wbh
	s60AFCY7XjdiI//xJ9gIUIy9KGbNbk2ZFbsIYY3JOIeexA9//rtmK2gLoPV7b44Y
	HeA5uDQxA7elIeF018SPKlVGC3g1DTjHaazE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:content-type; s=default; bh=NVXOf2HCD37n8
	P5X83TTkiF8NmE=; b=l72T/Gh31dn0hhvuc0Sh2x5ncpxQAUwi2jnNk74A/8cnP
	AgB28hY6ykLBegsbpnYn2t6KPz8o3zd5FeyN1VemO88PwXk/MkhMkulimyhWHdu4
	jQZlShp7xIR0q3C6KT/puLkA3rxyAW2pud67IdLeUzIP0dGynfZWf83NtNbZv8=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE autolearn=ham version=3.3.1
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=google.com; s=20120113;        h=x-received:mime-version:x-originating-ip:in-reply-to:references         :from:date:message-id:subject:to:content-type:x-gm-message-state;        bh=xMuBw7UrOCtTpnps7FMG6hXW7NGgZRMugtnwJ/LfiWI=;        b=FBmny3ut257U01oiDtxXbUYjFq+X1BkRD4iM0RwdFSdz5bZabXSnFjxOPF1+YC0ePR         D1WTQkDjU8ClHgHlwcB8tLm42jAueeCxRqpjDs3jp1uGHkbzcE+sXHBH24O2ZBaudEMl         VzDxj2VXcRtOzeFEdAowQns49c6U7xnRJmBMh3whla4+bmgm5+9sws/v9NtEi4XdhDbO         ybbTrbVbOxII1JG5JztirdqfZ/eLXFjeoCkdWCY0T9KNK57h2kYeYk5+CURo9a6hEzjp         2N28IhBNDszVbiwcpFtZv4LhIpYXa1sI1fDI3LmxeDE6BBcJ3DeKph7MzYgwnybC48iz         sYeA==
X-Received: by 10.58.45.71 with SMTP id k7mr7976703vem.0.1366285094626; Thu, 18 Apr 2013 04:38:14 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <kko38l$trr$1@ger.gmane.org>
References: <kkktoa$tmq$1@ger.gmane.org> <CAD+0NRBPuTzf26PYQ0XJ55JT_v0TJ+LdRt1qBGrTCvrdXVfzFw@mail.gmail.com> <805678601.20130417222136@mtu-net.ru> <kko38l$trr$1@ger.gmane.org>
From: Richard Gribble <richard@gandalfwizard.us>
Date: Thu, 18 Apr 2013 07:37:34 -0400
Message-ID: <CAD+0NRCTKkf=+Bp4PRyXVvZDpYdetZS8786fjiNWQ5gd9edtFA@mail.gmail.com>
Subject: Re: X windows behavior
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
X-Gm-Message-State: ALoCoQkVjrPQZTgoGJfyYp4Wjtj6JjJ71Mvf7+msy+ecesr17p5o0zq9oHVGiCafnW296tS/i9D7

On Thu, Apr 18, 2013 at 2:19 AM, Lukas Haase <lukashaase@gmx.at> wrote:
>
> On 2013-04-17 11:21, Andrey Repin wrote:
> > Greetings, Richard Gribble!
> >
> >>> I use Cygwin/X on a laptop using a docking station (with the external
> >>> monitor the primary display). Cygwin behaves very nasty in two ways:
> >>>
> >>> 1.) When two monitors are connected, new windows always open on the
> >>> secondary monitor. I have to move all of them manually back to my
> >>> primary monitor :( Is there a way to avoid this?
> >>>
> >>> 2.) When not docked, the secondary monitor seems to be used
> >>> "implicitely": Some new windows are not visible. Then I realize they are
> >>> "hidden" and I can (manually) drag them back to the main monitor. Also,
> >>> the "Exiting Cygwin/X"? dialog seems to be opened in an invisible,
> >>> virtual area: I just do not see this dialog. Only when I dock the next
> >>> time, I see that this windows actually pops up in the second monitor.
> >
> >> I believe you'll find this is the default behavior with Windows XP and
> >> Windows 7 as well.  In my experience, the issue is that windows
> >> "remember" where they were last, and reopen there.  Thus if you had
> >> Firefox open in the secondary monitor, reboot (without the secondary
> >> monitor), and reopen Firefox, it will reopen on the secondary monitor
> >> - and you won't see it.
>
> Ok, you're only talking about (2). But as I said, this can't entirely be
> true.
>
> Even if I click on the Tray Icon and "Exit", I sometimes can't see Exit
> Dialog ("Exiting Cygwin/X")?
>
> Regarding the first (and more severe issue). I run an application which
> uses many windows (Cadence). For nearly each properties-window which
> opens, it is placed on the secondary monitor. However, I am mainly
> working on the primary monitor (as I use the second only in tablet mode)
> so it is very annoying to drag every single window manually to the main
> monitor.
>
> This behavior only happens with Cygwin. For example, when I have Firefox
> open on my main monitor and I create a new window, it is created on the
> main monitor.
>
> I tried to use startxwin.exe -- -nomultimonitors. The root window now
> seems to cover only the primary monitor, however, the effect still
> persists and I can also still drag X windows to the second monitor. This
> setting seems to be ignored.
>
> Thanks,
> Luke
>
>
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>

What happens if you open Firefox on the secondary monitor and open
another Firefox window?

I see a similar behavior (opening new windows on the secondary
monitor) under Linux - I believe (though I haven't tested it
thoroughly) that it has to do with the geometry.  In my case, the main
monitor is on the bottom and the secondary on the top.  If the default
geometry of the window is specified as widthxheight+x+y, then I would
expect the window to open on the secondary monitor (as +0+0 would be
measured from the upper left).  If you have the main on the left and
the secondary on the right and the geometry is +/-x-y, the "-" y
coordinate would be from the right hand side, or on the secondary
monitor.  Maybe you've already looked at that, but if not, it might be
worth checking.


Later,

Richard.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

