From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 105551 invoked by alias); 4 Jul 2015 17:57:54 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Received: (qmail 105542 invoked by uid 89); 4 Jul 2015 17:57:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.4 required=5.0 tests=BAYES_20,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: csmail.cs.umass.edu Received: from mdc1.cs.umass.edu (HELO csmail.cs.umass.edu) (128.119.240.121) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 04 Jul 2015 17:57:51 +0000 Received: from [192.168.1.6] (99-197-30-37.cust.wildblue.net [99.197.30.37]) by csmail.cs.umass.edu (Postfix) with ESMTPSA id 59C30380002CEBD28B; Sat, 4 Jul 2015 13:57:45 -0400 (EDT) Message-ID: <55981E92.3050003@cs.umass.edu> Date: Sat, 04 Jul 2015 17:57:00 -0000 From: Eliot Moss Reply-To: moss@cs.umass.edu User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com Subject: Re: Some changed behaviors ... References: <556FACE5.5060301@cs.umass.edu> <5595C8E5.6060900@dronecode.org.uk> In-Reply-To: <5595C8E5.6060900@dronecode.org.uk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-07/txt/msg00002.txt.bz2 On 7/2/2015 7:27 PM, Jon TURNEY wrote: > On 04/06/2015 02:41, Eliot Moss wrote: >> I just updated to the latest XWin and got some >> different behaviors: >> >> - In my .XWinrc file I was using MINIMIZE in the STYLES. This now seems >> to permanently iconize a window. If I click on the icon, it briefly >> flahses large and then iconizes again. > > Thanks for reporting this. > > This regression seems to be a side-effect of the change I made in 1.17.1-5. > > If you would like to try it, I made a snapshot which hopefully fixes this without breaking anything > else, but when working on this code I always get the feeling that something else is going to unravel > when I pull on one of the loose ends :) > > ftp://cygwin.com/pub/cygwinx/x86/XWin.20150702-git-b872b0571855112c.exe.bz2 > ftp://cygwin.com/pub/cygwinx/x86_64/XWin.20150702-git-b872b0571855112c.exe.bz2 I run 32-bit, so I tested only that, but MINIMIZE in STYLE now works! Hooray! This is the first time that emacs has properly minimized on startup and properly un-minimized when first clicked! >> - When using -geometry (with xemacs in particular), the height of the >> screen seems different, and if I change the geometry height by 1, the >> height of the window does not change by 1 -- it either doesn't change, >> or changes by more than one. > > Hmmm.... I think that the size of the emacs window is (or at least, should be) constrained so it can > only change by a whole character? > > Can you give a bit more detail e.g. what version you were using previously, the geometry you are > requesting and the actual size of the window as reported by xwininfo? Yes, the first two geometry measures for emacs are indeed in terms of characters. Here is output when I request 110x64+0+0 on my laptop xwininfo: Window id: 0xe00054 "xemacs" Absolute upper-left X: 9 Absolute upper-left Y: 38 Relative upper-left X: 9 Relative upper-left Y: 38 Width: 1103 Height: 983 Depth: 24 Visual: 0x21 Visual Class: TrueColor Border width: 0 Class: InputOutput Colormap: 0x20 (installed) Bit Gravity State: NorthWestGravity Window Gravity State: NorthWestGravity Backing Store State: NotUseful Save Under State: no Map State: IsViewable Override Redirect State: no Corners: +9+38 -808+38 -808-59 +9-59 -geometry 108x64+9+38 This is from requesting 110x65+0+0: xwininfo: Window id: 0xe00054 "xemacs" Absolute upper-left X: 9 Absolute upper-left Y: 38 Relative upper-left X: 9 Relative upper-left Y: 38 Width: 1103 Height: 983 Depth: 24 Visual: 0x21 Visual Class: TrueColor Border width: 0 Class: InputOutput Colormap: 0x20 (installed) Bit Gravity State: NorthWestGravity Window Gravity State: NorthWestGravity Backing Store State: NotUseful Save Under State: no Map State: IsViewable Override Redirect State: no Corners: +9+38 -808+38 -808-59 +9-59 -geometry 108x64+9+38 And this from 110x66+0+0: xwininfo: Window id: 0xe00054 "xemacs" Absolute upper-left X: 9 Absolute upper-left Y: 38 Relative upper-left X: 9 Relative upper-left Y: 38 Width: 1103 Height: 983 Depth: 24 Visual: 0x21 Visual Class: TrueColor Border width: 0 Class: InputOutput Colormap: 0x20 (installed) Bit Gravity State: NorthWestGravity Window Gravity State: NorthWestGravity Backing Store State: NotUseful Save Under State: no Map State: IsViewable Override Redirect State: no Corners: +9+38 -808+38 -808-59 +9-59 -geometry 108x64+9+38 I verified that I was changing the right file by adjusting the width to 80 instead of 110, and it changed. If I take that 80x66+0+0 window and drag the bottom down to add a line, we get this: xwininfo: Window id: 0xe00054 "xemacs" Absolute upper-left X: 9 Absolute upper-left Y: 38 Relative upper-left X: 9 Relative upper-left Y: 38 Width: 803 Height: 998 Depth: 24 Visual: 0x21 Visual Class: TrueColor Border width: 0 Class: InputOutput Colormap: 0x20 (installed) Bit Gravity State: NorthWestGravity Window Gravity State: NorthWestGravity Backing Store State: NotUseful Save Under State: no Map State: IsViewable Override Redirect State: no Corners: +9+38 -1108+38 -1108-44 +9-44 -geometry 78x65+9+38 (Curious that the 80 was not obeyed, huh? There's plenty of room in that dimension.) The vertical dimension may get short- changed because it pushes right up against the icon bar at the bottom of the screen. I guess emacs does its own mystical adjustment of the parameters, given available font sizes, etc. I don't think this is a Cygwin-X specific thing, but if you have any additional thoughts, they're welcome! Thanks, as always, for your work on X for cygwin! Eliot -- 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/