all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: emacs-pretest-bug@gnu.org
Subject: Re: fullcreen = fullboth yields undesirable behavior
Date: Sat, 22 Sep 2007 07:56:28 -0600	[thread overview]
Message-ID: <m3ir62248j.fsf@fleche.redhat.com> (raw)
In-Reply-To: <46F51867.4080101@swipnet.se> ("Jan Djärv"'s message of "Sat\, 22 Sep 2007 15\:28\:07 +0200")

>>>>> "Jan" == Jan Djärv <jan.h.d@swipnet.se> writes:

Jan> Fullscreen on Gnome is done as specified by the extended window
Jan> manager hints. Thst is, Emacs just tells the window manager, "make me
Jan> fullscreen/height/width", and the windowmanager does what it sees fit.

Yeah, that much I still remember from my X days :-)

Jan> However, you can request fullscreen or fullwidth+height.  These may be
Jan> interpreted differently by the window manager, even if the spec says
Jan> it should not.

Jan> gtk_window_maximize does what Emacs already does.  It can't be used
Jan> when Emacs is not compiled with Gtk+, so there is no point in doing
Jan> so.

There is still a difference in behavior between Emacs and other Gtk
apps.

If I eval (make-frame '((fullscreen . fullboth))), it takes up the
entire screen, hiding the panel.

However, when I run the roughly equivalent pygtk program which calls
'window.maximize()', I get the results I expect -- a maximized window
where I can see the wm decorations and which does not hide the panel.

So, even if calling gtk_window_maximize is pointless, there is still
an Emacs bug.

Or, at the very least, a missing Emacs feature.  I did manage to think
of a reason that the current behavior might be desirable: if I was
using a presentation tool in Emacs (EPT), I might want this behavior.
However, that is a specialized use; more frequently I would want plain
Gtk-style "maximize".

Tom

  reply	other threads:[~2007-09-22 13:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-21 15:01 fullcreen = fullboth yields undesirable behavior Tom Tromey
2007-09-22 13:28 ` Jan Djärv
2007-09-22 13:56   ` Tom Tromey [this message]
2007-09-22 17:41     ` Henrik Enberg
2007-09-24  6:06       ` Jan Djärv
2007-09-24  7:02     ` Jan Djärv
2007-09-24 14:42       ` Tom Tromey

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=m3ir62248j.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=jan.h.d@swipnet.se \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.