public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Jon TURNEY <jon.turney@dronecode.org.uk>
To: cygwin-xfree@cygwin.com
Cc: simonzack@gmail.com
Subject: Re: unable to maximize gtk window
Date: Mon, 09 Sep 2013 14:29:00 -0000	[thread overview]
Message-ID: <522DDB2B.3080401@dronecode.org.uk> (raw)
In-Reply-To: <5223597C.4040807@gmail.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/


  reply	other threads:[~2013-09-09 14:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-01 15:13 Simon
2013-09-09 14:29 ` Jon TURNEY [this message]
2013-09-09 14:43   ` Simon
2013-09-11 16:53     ` Jon TURNEY
2013-09-11 18:05       ` Simon
2013-09-16 15:20         ` Jon TURNEY
2013-09-22 18:22           ` Simon
2013-09-01 21:01 Angelo Graziosi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=522DDB2B.3080401@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=cygwin-xfree@cygwin.com \
    --cc=simonzack@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).