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: 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 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: From: Jon TURNEY Reply-To: cygwin AT cygwin DOT com Cc: Michael DePaulo 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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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