From 83e2a07aa00911c775f6ed07d3de12f2bec666d8 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Sat, 12 Feb 2005 18:36:01 +0000 Subject: [PATCH] (expose_window): Don't fix overlaps for mode lines. --- src/xdisp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index 0f385dc08df..fbbd2ccb246 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -22090,7 +22090,9 @@ expose_window (w, fr) || (r.y >= y0 && r.y < y1) || (r.y + r.height > y0 && r.y + r.height < y1)) { - if (row->overlapping_p) + /* A header line may be overlapping, but there is no need + to fix overlapping areas for them. KFS 2005-02-12 */ + if (row->overlapping_p && !row->mode_line_p) { if (first_overlapping_row == NULL) first_overlapping_row = row; -- 2.39.5