From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13686 invoked by alias); 13 Jul 2013 13:22:36 -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 13661 invoked by uid 89); 13 Jul 2013 13:22:35 -0000 X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_50,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,RDNS_NONE autolearn=no version=3.3.1 Received: from Unknown (HELO nm4-vm1.bt.bullet.mail.ir2.yahoo.com) (212.82.99.119) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Sat, 13 Jul 2013 13:22:34 +0000 Received: from [212.82.98.47] by nm4.bt.bullet.mail.ir2.yahoo.com with NNFMP; 13 Jul 2013 13:22:26 -0000 Received: from [77.238.189.16] by tm8.bt.bullet.mail.ir2.yahoo.com with NNFMP; 13 Jul 2013 13:22:26 -0000 Received: from [127.0.0.1] by smtp816.mail.ird.yahoo.com with NNFMP; 13 Jul 2013 13:22:26 -0000 X-Yahoo-SMTP: u.JgLvyswBBMp9ZJJfsX14qmYb3T2ivhMAr6OupnxLpNQEFZ9g-- X-Rocket-Received: from [192.168.1.72] (jon.turney@109.156.197.81 with plain) by smtp816.mail.ird.yahoo.com with SMTP; 13 Jul 2013 13:22:26 +0000 GMT Message-ID: <51E15496.1050709@dronecode.org.uk> Date: Sat, 13 Jul 2013 13:22:00 -0000 From: Jon TURNEY Reply-To: cygwin-xfree User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com CC: ssier@msn.com Subject: Re: Can't resize windows in Cygwin/X 1.12.1 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-07/txt/msg00009.txt.bz2 On 12/07/2013 22:40, STEVEN SITTSER wrote: > Until recently I was using Cygwin/X under Cygwin 1.5.18 on Windows XP. The > windows displayed by our in-house X applications had resize borders - I > could resize the windows by grabbing an edge. > > Now, I am using Cygwin/X 1.12.1 under Cygwin 1.7.14 on Windows XP. Now, > the windows displayed by the same applications have a fixed size - I can't > resize them by grabbing the edges. (This is true both when I run the exact > same executables under both Cygwin versions, and when I build the > applications separately under each Cygwin version.) > > I've been hoping that there is some sort of configuration setting that > controls this behavior, but with many hours of digging through man pages, > web pages, and miscellaneous documentation, I have been unable to come up > with anything. I was thinking maybe something that would go in .Xdefaults, > or a command line parameter for startwxin, etc. The .XWinrc file [1] can be used to do some overriding of window styles, but it seems that it doesn't allow a sizing frame to be added. Perhaps that's something I need to look at adding. [1] http://x.cygwin.com/docs/man5/XWinrc.5.html > I would like to be able to restore the window behavior to what it was in > Cygwin 1.5.18 without making changes to the source code of our > applications. However, if my symptoms imply that we've got something coded > wrong in our applications, then any advice on fixing that would be > appreciated. I don't do any XWindows programming myself (and I'm only just > barely familiar with XWindows in general), but I can pass any information > on to those who do. If using the latest X server doesn't resolve your problem, then possibly this is a bug with the mapping of the X windows decoration hints into a native Windows window style. Can you install 'xprop' (using cygwin setup), and show the output you get from running that, then clicking on the window which doesn't get a resize frame. > As a test I ran xclock on an old Sun system via PuTTY under both Cygwin > versions. On both the window was resizable. So, resizable windows do work > in that case, at least. > > I am (I believe) using the default XWindows setup from my Cygwin > installation - that is, the XWindows server is being started by a shortcut > in the Windows "Startup" folder with a target of "C:\cygwin\bin\run.exe > /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe" > > Thanks for any help anyone can provide. -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- 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/