1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-21 18:23:59 +00:00

Add manual entry for fullscreen-restore parameter.

* frames.texi (Size Parameters): Describe `fullscreen-restore'
parameter.
This commit is contained in:
Martin Rudalics 2015-02-11 11:02:03 +01:00
parent 02138cb0b8
commit 061c7e2b5a
3 changed files with 21 additions and 2 deletions

View File

@ -1,7 +1,8 @@
2015-02-11 Martin Rudalics <rudalics@gmx.at>
* frames.texi (Size Parameters): Update description of
fullscreen frame parameter.
fullscreen frame parameter. Describe `fullscreen-restore'
parameter.
2015-02-09 Eli Zaretskii <eliz@gnu.org>

View File

@ -757,6 +757,24 @@ make a frame truly appear ``maximized'' or ``fullscreen''. Moreover,
some window managers might not support smooth transition between the
various fullscreen or maximization states. Customizing the variable
@code{x-frame-normalize-before-maximize} can help to overcome that.
@vindex fullscreen-restore, a frame parameter
@item fullscreen-restore
This parameter specifies the desired ``fullscreen'' state of the frame
after invoking the @code{toggle-frame-fullscreen} command (@pxref{Frame
Commands,,, emacs, The GNU Emacs Manual}) in the ``fullboth'' state.
Normally this parameter is installed automatically by that command when
toggling the state to fullboth. If, however, you start Emacs in the
fullboth state, you have to specify the desired behavior in your initial
file as, for example
@example
(setq default-frame-alist
'((fullscreen . fullboth) (fullscreen-restore . fullheight)))
@end example
This will give a new frame full height after typing in it @key{F11} for
the first time.
@end table

View File

@ -1906,7 +1906,7 @@ is already fullscreen.
Before making the frame fullscreen remember the current value of
the frame's `fullscreen' parameter in the `fullscreen-restore'
parameter of the frame. That value is used to restore the
frame's size when toggling fullscreen the next time.
frame's fullscreen state when toggling fullscreen the next time.
Note that with some window managers you may have to set
`frame-resize-pixelwise' to non-nil in order to make a frame