emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fullcreen = fullboth yields undesirable behavior


From: Jan Djärv
Subject: Re: fullcreen = fullboth yields undesirable behavior
Date: Mon, 24 Sep 2007 09:02:59 +0200
User-agent: Thunderbird 2.0.0.6 (X11/20070728)



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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]