aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorDmitry Antipov2013-09-05 20:25:20 +0400
committerDmitry Antipov2013-09-05 20:25:20 +0400
commitb969582835bb7d6085a802322c77150fe559960e (patch)
treebe9ab059004c356ec2ba8e3dbe0bf489fcb5dd74 /src/ChangeLog
parent1f896cb7ede7d658797737574b2d6b00d128a592 (diff)
downloademacs-b969582835bb7d6085a802322c77150fe559960e.tar.gz
emacs-b969582835bb7d6085a802322c77150fe559960e.zip
Cache current header and mode line height for each window.
* window.h (struct window): New fields mode_line_height and header_line_height. * window.c (make_window): Initialize them. * dispextern.h (CURRENT_MODE_LINE_HEIGHT) (CURRENT_HEADER_LINE_HEIGHT): Use them. Adjust comment. (current_mode_line_height, current_header_line_height): Remove declaration. * xdisp.c (current_mode_line_height, current_header_line_height): Remove. (pos_visible_p, init_xdisp): Adjust user. (redisplay_window): Invalidate mode_line_height and header_line_height if current and desired matrices do not agree.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index d4a7abefd57..898fbd8ab88 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,21 @@
12013-09-05 Dmitry Antipov <dmantipov@yandex.ru> 12013-09-05 Dmitry Antipov <dmantipov@yandex.ru>
2 2
3 Cache current header and mode line height for each window.
4 * window.h (struct window): New fields mode_line_height
5 and header_line_height.
6 * window.c (make_window): Initialize them.
7 * dispextern.h (CURRENT_MODE_LINE_HEIGHT)
8 (CURRENT_HEADER_LINE_HEIGHT): Use them. Adjust comment.
9 (current_mode_line_height, current_header_line_height):
10 Remove declaration.
11 * xdisp.c (current_mode_line_height, current_header_line_height):
12 Remove.
13 (pos_visible_p, init_xdisp): Adjust user.
14 (redisplay_window): Invalidate mode_line_height and
15 header_line_height if current and desired matrices do not agree.
16
172013-09-05 Dmitry Antipov <dmantipov@yandex.ru>
18
3 * fontset.c, window.c, xdisp.c (toplevel): Use TERM_HEADER. 19 * fontset.c, window.c, xdisp.c (toplevel): Use TERM_HEADER.
4 * xfaces.c (toplevel) [HAVE_X_WINDOWS]: Do not include xterm.h twice. 20 * xfaces.c (toplevel) [HAVE_X_WINDOWS]: Do not include xterm.h twice.
5 21