X-Recipient: archive-cygwin AT delorie DOT 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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=dVrl6w1WAAs5yB6PtMAbaUIZtYipzYsbZkvtA450xHv D0d8ssMv+p0bjJw7IFXS8pGi/jGbthc7BWqev/ryxJEygC3y+G344nxakc7pjwqf gUYiiOKcJFgo1XltJIxxC/KEl9NNm+uE3x0XbSu3gGvJnw//v2r6Z0PYrVKgf9ho = 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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=Hevn92f3mcR2CQGy6pn9YRkkMdI=; b=mQxdyPnDO1ZSh5nDC OnrAh675aNMoXvTj/e9vmKWcIDUuCCs+iwlH6mE0AG7xwIJE+AJxdf1UJ/C10AQL 2twJ79SmkOh6A5zU6E5eDXfItkxIGspX9Kw4el9AlakAhO5H4fcHjGFcEwLWTKLN S6wJ/Ysd3dKG2bwKDsh3Tggnxw= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.1 Message-ID: <517A0B45.5000109@gmx.at> Date: Thu, 25 Apr 2013 22:06:13 -0700 From: Lukas Haase User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.24) Gecko/20100228 Thunderbird/2.0.0.24 Mnenhy/0.7.5.0 MIME-Version: 1.0 Newsgroups: gmane.os.cygwin To: cygwin AT cygwin DOT com Subject: Re: X windows behavior References: <51753D1A DOT 1080902 AT dronecode DOT org DOT uk> In-Reply-To: <51753D1A.1080902@dronecode.org.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 2013-04-22 06:37, Jon TURNEY wrote: > On 17/04/2013 02:26, Lukas Haase wrote: >> 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. Dear Jon, Thanks for your support. > I'm not clear if you are saying these bugs occur if you have Xwin running when > you dock/undock (i.e. this is a bug in how XWin handles a change in the number > of monitors)? The first not (it always happens when two monitors are connected) The second could have to do with this, yes. This is the procedure: - Start XWin, docked, working with it. - Undock, going to standby, SSH session may die - Wake up without docking (only internal screen) Now all windows are shown on the (non-existent) secondary screen if I open new X programs. Also, I can't even close it because even the Exit Prompt is hidden. > Does restarting XWin after dock/undock still show these problems? Yes, if I kill Xwin via task manager. > Can you please provide your /var/log/xwin/XWin.0.log http://pastebin.com/GsSsH1YE > Can you provide a bit more detail about your monitor geometry (i.e. size of > the monitors, is the 'primary' monitor to the left or right of the 'secondary' > monitor)? [ LAPTOP ] [ External Monitor ] When docked: External is primary, Laptop is secondary screen When undocked: Only laptop exists, so this is primary now. Laptop: 1366x768 External Monitor: 1920x1080 Thanks, Lukas -- 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