]> git.eshelyaron.com Git - emacs.git/commit
Improve toggling fullscreen state of frames.
authorMartin Rudalics <rudalics@gmx.at>
Wed, 11 Feb 2015 08:07:24 +0000 (09:07 +0100)
committerMartin Rudalics <rudalics@gmx.at>
Wed, 11 Feb 2015 08:07:24 +0000 (09:07 +0100)
commit02138cb0b88c5f6addf891d725967d9867eda3f9
tree073bd7e1c58cee1f02a52ff8eabcfa6dd24a6fb2
parent6ebbeafc94a35e49fc3a842b5f5fbd7b069ce936
Improve toggling fullscreen state of frames.

* frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
Rename frame parameter `maximized' to `fullscreen-restore'.
Restore fullwidth/-height after fullboth state.  Update
doc-strings.
* w32term.c (w32_read_socket): In SIZE_MAXIMIZED and
SIZE_RESTORED cases correctly handle `maximized' value for the
`fullscreen' parameter.  Don't use the 'maximized' parameter any
more.
(w32fullscreen_hook): Include menu bar height when calculating
new text height in FULLSCREEN_BOTH case.
* xterm.c (do_ewmh_fullscreen): Handle transition from
FULLSCREEN_BOTH to FULLSCREEN_MAXIMIZED when
x_frame_normalize_before_maximize is set.
* frames.texi (Size Parameters): Update description of
fullscreen frame parameter.
doc/lispref/ChangeLog
doc/lispref/frames.texi
lisp/ChangeLog
lisp/frame.el
src/ChangeLog
src/w32term.c
src/xterm.c