From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21412 invoked by alias); 9 Sep 2013 14:29:03 -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 21403 invoked by uid 89); 9 Sep 2013 14:29:03 -0000 Received: from nm4.bt.bullet.mail.ird.yahoo.com (HELO nm4.bt.bullet.mail.ird.yahoo.com) (212.82.108.235) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Mon, 09 Sep 2013 14:29:03 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RDNS_NONE autolearn=no version=3.3.2 X-HELO: nm4.bt.bullet.mail.ird.yahoo.com Received: from [212.82.108.230] by nm4.bt.bullet.mail.ird.yahoo.com with NNFMP; 09 Sep 2013 14:28:57 -0000 Received: from [217.146.189.75] by tm3.bt.bullet.mail.ird.yahoo.com with NNFMP; 09 Sep 2013 14:28:57 -0000 Received: from [127.0.0.1] by smtp825.mail.ird.yahoo.com with NNFMP; 09 Sep 2013 14:28:57 -0000 X-Yahoo-SMTP: u.JgLvyswBBMp9ZJJfsX14qmYb3T2ivhMAr6OupnxLpNQEFZ9g-- X-Rocket-Received: from [192.168.1.72] (jon.turney@86.139.179.99 with plain) by smtp825.mail.ird.yahoo.com with SMTP; 09 Sep 2013 07:28:57 -0700 PDT Message-ID: <522DDB2B.3080401@dronecode.org.uk> Date: Mon, 09 Sep 2013 14:29:00 -0000 From: Jon TURNEY Reply-To: cygwin-xfree User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com CC: simonzack@gmail.com Subject: Re: unable to maximize gtk window References: <5223597C.4040807@gmail.com> In-Reply-To: <5223597C.4040807@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-09/txt/msg00002.txt.bz2 On 01/09/2013 16:13, Simon wrote: > $ gcc -o simple simple.c `pkg-config --libs --cflags gtk+-2.0` > $ ./simple.exe > > The window fails to maximize on startup > I've found this out when using gnome terminator on cygwin, which fails to > maximize on startup, and strangely is only able to maximize when opening up a > new tab Thanks for reporting this problem and the testcase. I've added a patch improves the window hint conversion in multiwindow mode so that the hint which gtk_window_maximize() sets is now recognized as maximizing the window. I've uploaded a snapshot at [1]. Perhaps you could try that and see if it improves things for you? (This is a x86 binary. if you need an x64 binary, please let me know and I'll generate one) > On 01/09/2013 22:00, Angelo Graziosi wrote: >> Perhaps, there is a similar discussion for GTK builds of Emacs trunk on Cygwin: >> >> http://lists.gnu.org/archive/html/bug-gnu-emacs/2013-08/msg00953.html This might be responsible for some of the problems listed there, but I think there is still something not quite right about the way a maximized emacs window is treated, so more work is needed. [1] ftp://cygwin.com/pub/cygwinx/XWin.20130909-git-7cebbec4b67fd4d8.exe.bz2 -- 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/