[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
frame-pixel-height doesn't count menu-bar
From: |
LaserDoodads Info |
Subject: |
frame-pixel-height doesn't count menu-bar |
Date: |
Sat, 9 Jul 2005 14:53:11 -0500 |
(menu-bar-mode 0)
(frame-height)
(frame-pixel-height)
(menu-bar-mode 1)
(frame-height)
(frame-pixel-height)
When executing this sequence, the value returned by frame-pixel-height
is the same in both cases even though the frame size obviously changes
during the process. The manual isn't clear about what the size of the
frame actually includes but since frame-pixel-width includes the border
pixels I'd expect that height does too -- in which case I'll mention
that frame-pixel-height appears not to include the title bar either.
In GNU Emacs 22.0.50.1 (i386-msvc-nt5.1.2600)
of 2005-07-08 on LD1
X server distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-msvc (12.00)'
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: ENU
locale-coding-system: cp1252
default-enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
tool-bar-mode: t
encoded-kbd-mode: t
mouse-wheel-mode: t
tooltip-mode: t
auto-compression-mode: t
menu-bar-mode: t
blink-cursor-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
line-number-mode: t
next-error-follow-minor-mode: Fol
- frame-pixel-height doesn't count menu-bar,
LaserDoodads Info <=