aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDmitry Antipov2014-07-21 20:58:12 +0400
committerDmitry Antipov2014-07-21 20:58:12 +0400
commit780c294f37fc0132aeab5d7ee6ecf4152ebb7215 (patch)
treeaf9fec0faf00bf0bad0e7bd44f0c827223a080a2 /src
parent190644a0115a592f237b5f7c91f0f96e82edb864 (diff)
downloademacs-780c294f37fc0132aeab5d7ee6ecf4152ebb7215.tar.gz
emacs-780c294f37fc0132aeab5d7ee6ecf4152ebb7215.zip
* src/frame.c (Fframe_parameters): Always report frame height without
menu and tool bar lines. * etc/TODO: remove frame height remark.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/frame.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 25732ac9f5d..30a02475262 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12014-07-21 Dmitry Antipov <dmantipov@yandex.ru>
2
3 * frame.c (Fframe_parameters): Always report frame height without
4 menu and tool bar lines.
5
12014-07-21 Jan Djärv <jan.h.d@swipnet.se> 62014-07-21 Jan Djärv <jan.h.d@swipnet.se>
2 7
3 * nsterm.m (applicationDidFinishLaunching:): Call 8 * nsterm.m (applicationDidFinishLaunching:): Call
diff --git a/src/frame.c b/src/frame.c
index 8d6f3567334..731a62705bd 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -2240,7 +2240,7 @@ If FRAME is omitted or nil, return information on the currently selected frame.
2240 ? (f->new_pixelwise 2240 ? (f->new_pixelwise
2241 ? (f->new_height / FRAME_LINE_HEIGHT (f)) 2241 ? (f->new_height / FRAME_LINE_HEIGHT (f))
2242 : f->new_height) 2242 : f->new_height)
2243 : FRAME_LINES (f)); 2243 : FRAME_LINES (f)) - FRAME_TOP_MARGIN (f);
2244 store_in_alist (&alist, Qheight, make_number (height)); 2244 store_in_alist (&alist, Qheight, make_number (height));
2245 width = (f->new_width 2245 width = (f->new_width
2246 ? (f->new_pixelwise 2246 ? (f->new_pixelwise