From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8036 invoked by alias); 18 Dec 2012 17:11:42 -0000 Received: (qmail 7715 invoked by uid 22791); 18 Dec 2012 17:11:33 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mercury.karoo.kcom.com (HELO smtpout.karoo.kcom.com) (212.50.160.61) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 18 Dec 2012 17:11:27 +0000 Received: from 213-152-38-55.dsl.eclipse.net.uk (HELO [192.168.1.102]) ([213.152.38.55]) by smtpout.karoo.kcom.com with ESMTP; 18 Dec 2012 17:11:23 +0000 Message-ID: <50D0A3C0.9010405@dronecode.org.uk> Date: Tue, 18 Dec 2012 17:11:00 -0000 From: Jon TURNEY Reply-To: cygwin-xfree User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com CC: Ekkard Gerlach Subject: Re: 1.7.17: child window opens without window-manager References: <20121207145424.GE31750@rex4> <50CF5AB9.1060903@dronecode.org.uk> <20121218135135.GE15177@rex4> In-Reply-To: <20121218135135.GE15177@rex4> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 X-SW-Source: 2012-12/txt/msg00018.txt.bz2 On 18/12/2012 13:51, egerlach@aiai.de wrote: > * Jon TURNEY schrieb: > >> Possibly this is a bug with the mapping of the X windows decoration hints into >> a native Windows window style. >> >> Can you install 'xprop', and show the output you get from running that, then >> clicking on the window which doesn't get decorated and sized correctly? Thanks. If I've understood you correctly, the problems with how this window is shown are: (i) it doesn't have a resizing frame, (ii) it doesn't have minimize, maximize and close controls and (iii) it's too big. >> _NET_WM_STATE(ATOM) = _NET_WM_STATE_MODAL >> _NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DIALOG, _NET_WM_WINDOW_TYPE_NORMAL >> _MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x6, 0x0, 0x68, 0x3, 0x0 >> WM_NORMAL_HINTS(WM_SIZE_HINTS): >> user specified location: 0, 0 >> program specified location: 0, 0 >> user specified size: 1684 by 1013 >> program specified size: 1684 by 1013 >> program specified minimum size: 478 by 263 >> window gravity: NorthWest The _MOTIF_WM_HINTS request a window title, minimize and maximize controls, but no window menu, border or sizing frame. Unfortunately, on Windows, not having a window menu also means you don't get minimize, maximize and close controls, so that is why the window appears with just a title. I don't see anything in these window appearance hints that says that the window should be resizable (and it appears to be a modal dialog, which are often fixed size). The size of window the application is asking for is 1684x1013 (which I assume is close to your monitor size). I don't know why that might be (perhaps the application remembers the window size from when it's been maximized previously?) I'm not sure if a change to XWin is warranted here, or what that change might be. Can you give an example of another window manager which shows this window as you expect for comparison purposes? Perhaps you can use the XWinrc file to override the style for this window and change it to something more useful for you? >> (The cygwin DLL version number (1.7.17) is independent of the X server version >> number, so doesn't really help here. The X server version number which it >> works correctly with would be more informative) > I'll find it out, at the moment the PCs are in use. > >> Are you are comparing with the last free version of Xming (6.9.0.31), or a >> more recent version? > yes, last free version 6.9.0.31 > A newer non-free Version 7.5.x works fine, too Hmm... the current Xming code for mapping the hints onto a native window style is very similar (although not identical), so I'm not quite sure why they behave differently. -- 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/