all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: tromey@redhat.com
Cc: emacs-pretest-bug@gnu.org
Subject: Re: fullcreen = fullboth yields undesirable behavior
Date: Mon, 24 Sep 2007 09:02:59 +0200	[thread overview]
Message-ID: <46F76123.6060502@swipnet.se> (raw)
In-Reply-To: <m3ir62248j.fsf@fleche.redhat.com>



Tom Tromey skrev:

> 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.

Guess I was mistaken.  Setting max height + width is not the same as setting 
fullscreen.

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

It depends on your expectations :-).  But I will change fullboth to mean max 
width + height and I will add fullmax to mean "cover the screen" in CVS HEAD.

But I must test it on several window managers with several toolkits so it will 
take some time.

> 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".

As I recall, this was the initial motivation for fullscreen in the first place.

	Jan D.

  parent reply	other threads:[~2007-09-24  7:02 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
2007-09-22 17:41     ` Henrik Enberg
2007-09-24  6:06       ` Jan Djärv
2007-09-24  7:02     ` Jan Djärv [this message]
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=46F76123.6060502@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=tromey@redhat.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.
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.