aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/dispnew.c16
2 files changed, 6 insertions, 15 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index baf6f5404e6..c028075d561 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,9 +1,12 @@
12001-07-10 Gerd Moellmann <gerd@gnu.org> 12001-07-10 Gerd Moellmann <gerd@gnu.org>
2 2
3 * dispnew.c (update_window): Don't skip the header-line
4 update when scrolling_window returns 0.
5
3 * xfaces.c (unload_color): Do nothing if PIXEL is -1. 6 * xfaces.c (unload_color): Do nothing if PIXEL is -1.
4 7
5 * xfns.c (Fx_create_frame): Initialize frame colors to -1, 8 * xfns.c (Fx_create_frame): Initialize frame colors to -1,
6 for the case that x_decode_colors signals an error. 9 for the case that x_decode_color signals an error.
7 10
8 * xdisp.c (add_to_log): Do nothing if called asynchronously. 11 * xdisp.c (add_to_log): Do nothing if called asynchronously.
9 12
diff --git a/src/dispnew.c b/src/dispnew.c
index 412d5993956..30dad7b5cb8 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -4085,18 +4085,8 @@ update_window (w, force_p)
4085 4085
4086 /* Try reusing part of the display by copying. */ 4086 /* Try reusing part of the display by copying. */
4087 if (row < end && !desired_matrix->no_scrolling_p) 4087 if (row < end && !desired_matrix->no_scrolling_p)
4088 { 4088 if (scrolling_window (w, header_line_row != NULL) > 0)
4089 int rc = scrolling_window (w, header_line_row != NULL); 4089 force_p = changed_p = 1;
4090 if (rc < 0)
4091 {
4092 /* All rows were found to be equal. */
4093 paused_p = 0;
4094 goto set_cursor;
4095 }
4096 else if (rc > 0)
4097 force_p = 1;
4098 changed_p = 1;
4099 }
4100 4090
4101 /* Update the top mode line after scrolling because a new top 4091 /* Update the top mode line after scrolling because a new top
4102 line would otherwise overwrite lines at the top of the window 4092 line would otherwise overwrite lines at the top of the window
@@ -4142,8 +4132,6 @@ update_window (w, force_p)
4142 /* Was display preempted? */ 4132 /* Was display preempted? */
4143 paused_p = row < end; 4133 paused_p = row < end;
4144 4134
4145 set_cursor:
4146
4147 /* Fix the appearance of overlapping(overlapped rows. */ 4135 /* Fix the appearance of overlapping(overlapped rows. */
4148 if (!paused_p && !w->pseudo_window_p) 4136 if (!paused_p && !w->pseudo_window_p)
4149 { 4137 {