delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/07/05/14:32:36

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:subject:to:references:from:reply-to:cc
:message-id:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=ngxPkuLE0WtCeTWQ
tcMIF/FMfh8UXo/5SuQ4aeobLRG4GKi/2v7ybX/09qSN4yVTNalfBt1Fu+xbCwxX
QvoxXfmKEPm8EbijTmZkaRdIs2RJIFMtb/+i0lir4HfYXz2t85OF2qoNdpZQaiZ2
r0ZvKynX0UFHd5vVuQaH/Q9IFUg=
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:subject:to:references:from:reply-to:cc
:message-id:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=iKGLdrTdi2pbaP06F9n4qP
k33O0=; b=pXBrYwsdO+HIhpRZbNDcOfbsrE5LDJd++8FmupOYS50v2TwdPqiB/h
KF/1VngyCpC6u02MaS2DgthbmuHXDkcLlMfdog4rI1c+SeZXrQc9TaiXnZbPoooW
w6q6hjWmvu5Bo005M5A9SPu0phE0SXW/KKULx9IOoCop9sfLj77z4=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2
X-HELO: out5-smtp.messagingengine.com
Subject: Re: XWin in Multiwindow mode - window opens up 8 pixels from the left
To: cygwin AT cygwin DOT com
References: <CAMKht8hM=PrBeLzmgB25zzCB2OZOKEugSEy_qHKzejZ1j9osWw AT mail DOT gmail DOT com>
From: Jon TURNEY <jon DOT turney AT dronecode DOT org DOT uk>
Reply-To: cygwin AT cygwin DOT com
Cc: Michael DePaulo <mikedep333 AT gmail DOT com>
Message-ID: <5599781F.3060006@dronecode.org.uk>
Date: Sun, 5 Jul 2015 19:31:59 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1
MIME-Version: 1.0
In-Reply-To: <CAMKht8hM=PrBeLzmgB25zzCB2OZOKEugSEy_qHKzejZ1j9osWw@mail.gmail.com>

On 05/07/2015 16:11, Michael DePaulo wrote:
> I've noticed that if I start XWin in -multiwindow mode:
> xwin -multiwindow
> And then open up a window in what should be the top-left corner of the screen:
> $ xlogo -geometry 2048x1152+0+0
> The window instead opens up 8 pixels from the left:
> http://imgur.com/89iWRgg
>
> I am not sure if this is intentional behavior of the internal window
> manager, or a bug. Either way, I thought I would mention it.
>
> It does not occur in Rootless mode.

I think this behaviour is intended.

When we apply the window style to the window, the position of the window 
is adjusted to ensure that window decorations at the top-left are 
visible.  See [1].  To do otherwise would make it unnecessarily 
difficult to move the window.

[1] 
http://cgit.freedesktop.org/~jturney/xserver/tree/hw/xwin/winmultiwindowwndproc.c?h=cygwin-patches-for-1.17#n1249

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019