[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r106524: src/dispnew.c (update_window
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r106524: src/dispnew.c (update_window): Fix outdated commentary. |
Date: |
Sat, 26 Nov 2011 15:11:03 +0200 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 106524
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Sat 2011-11-26 15:11:03 +0200
message:
src/dispnew.c (update_window): Fix outdated commentary.
modified:
src/dispnew.c
=== modified file 'src/dispnew.c'
--- a/src/dispnew.c 2011-11-22 18:00:38 +0000
+++ b/src/dispnew.c 2011-11-26 13:11:03 +0000
@@ -3578,12 +3578,11 @@
rif->update_window_begin_hook (w);
yb = window_text_bottom_y (w);
-
- /* If window has a header line, update it before everything else.
- Adjust y-positions of other rows by the header line height. */
row = desired_matrix->rows;
end = row + desired_matrix->nrows - 1;
+ /* Take note of the header line, if there is one. We will
+ update it below, after updating all of the window's lines. */
if (row->mode_line_p)
{
header_line_row = row;
@@ -3628,6 +3627,8 @@
/* Update the rest of the lines. */
for (; row < end && (force_p || !input_pending); ++row)
+ /* scrolling_window resets the enabled_p flag of the rows it
+ reuses from current_matrix. */
if (row->enabled_p)
{
int vpos = MATRIX_ROW_VPOS (row, desired_matrix);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r106524: src/dispnew.c (update_window): Fix outdated commentary.,
Eli Zaretskii <=