This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: unable to maximize gtk window
- From: Jon TURNEY <jon dot turney at dronecode dot org dot uk>
- To: cygwin-xfree at cygwin dot com
- Cc: simonzack at gmail dot com
- Date: Mon, 09 Sep 2013 15:28:59 +0100
- Subject: Re: unable to maximize gtk window
- Authentication-results: sourceware.org; auth=none
- References: <5223597C dot 4040807 at gmail dot com>
- Reply-to: cygwin-xfree at cygwin dot com
- Reply-to: cygwin-xfree <cygwin-xfree at cygwin dot com>
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/