unable to maximize gtk window

Jon TURNEY jon.turney@dronecode.org.uk
Mon Sep 9 14:29:00 GMT 2013

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

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/

More information about the Cygwin-xfree mailing list