(Size and Position): Explain meaning of frame pixel width and height.
authorRichard M. Stallman <rms@gnu.org>
Fri, 28 Dec 2007 03:50:09 +0000 (03:50 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 28 Dec 2007 03:50:09 +0000 (03:50 +0000)
lispref/ChangeLog
lispref/frames.texi

index 682e439..55f9136 100644 (file)
@@ -2,6 +2,7 @@
 
        * frames.texi (Size Parameters): Fix typo.
        (Basic Parameters): For `title', refer to title bar.
+       (Size and Position): Explain meaning of frame pixel width and height.
 
 2007-12-23  Richard Stallman  <rms@gnu.org>
 
index 8153c69..ae6985e 100644 (file)
@@ -800,8 +800,14 @@ of the frame is normally the same as the size of the terminal screen.
 
 @defun frame-pixel-height &optional frame
 @defunx frame-pixel-width &optional frame
-These functions return the height and width of @var{frame}, measured in
-pixels.  If you don't supply @var{frame}, they use the selected frame.
+These functions return the height and width of the main display area
+of @var{frame}, measured in pixels.  If you don't supply @var{frame},
+they use the selected frame.
+
+These values include the internal borders, and windows' scroll bars
+and fringes (which belong to individual windows, not to the frame
+itself), but do not include menu bars or tool bars (except when using
+X without an X toolkit).
 @end defun
 
 @defun frame-char-height &optional frame