summaryrefslogtreecommitdiff
path: root/lisp/frame.el
diff options
context:
space:
mode:
authorMartin Rudalics <rudalics@gmx.at>2014-10-03 11:18:49 +0200
committerMartin Rudalics <rudalics@gmx.at>2014-10-03 11:18:49 +0200
commitf63bd04be9c6a1a9b09749a86ac693726994bda2 (patch)
tree698c3b04654ee34bca1ef44f3474f320b40013cc /lisp/frame.el
parenta81e5de3a34d27cea43d49ffdfd9755f0eddb262 (diff)
downloademacs-f63bd04be9c6a1a9b09749a86ac693726994bda2.tar.gz
emacs-f63bd04be9c6a1a9b09749a86ac693726994bda2.tar.bz2
emacs-f63bd04be9c6a1a9b09749a86ac693726994bda2.zip
Mention `frame-resize-pixelwise' to make frames truly fullscreen or maximized.
* frame.el (toggle-frame-maximized, toggle-frame-fullscreen): In doc-string mention need of setting `frame-resize-pixelwise'. * frames.texi (Frame Commands): * cmdargs.texi (Window Size X): Mention the use of `frame-resize-pixelwise' to make frames truly fullscreen or maximized. * frames.texi (Size Parameters, Size and Position): Mention that with some window managers you have to set `frame-resize-pixelwise' in order make a frame truly fullscreen or maximized.
Diffstat (limited to 'lisp/frame.el')
-rw-r--r--lisp/frame.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/lisp/frame.el b/lisp/frame.el
index 5e9b5351005..a14b0c29103 100644
--- a/lisp/frame.el
+++ b/lisp/frame.el
@@ -1844,6 +1844,11 @@ If the frame is in fullscreen mode, don't change its mode,
just toggle the temporary frame parameter `maximized',
so the frame will go to the right maximization state
after disabling fullscreen mode.
+
+Note that with some window managers you may have to set
+`frame-resize-pixelwise' to non-nil in order to make a frame
+appear truly maximized.
+
See also `toggle-frame-fullscreen'."
(interactive)
(if (memq (frame-parameter nil 'fullscreen) '(fullscreen fullboth))
@@ -1865,6 +1870,11 @@ already fullscreen. Ignore window manager screen decorations.
When turning on fullscreen mode, remember the previous value of the
maximization state in the temporary frame parameter `maximized'.
Restore the maximization state when turning off fullscreen mode.
+
+Note that with some window managers you may have to set
+`frame-resize-pixelwise' to non-nil in order to make a frame
+appear truly fullscreen.
+
See also `toggle-frame-maximized'."
(interactive)
(modify-frame-parameters