From: Kim F. Storm Date: Sat, 12 Feb 2005 18:36:01 +0000 (+0000) Subject: (expose_window): Don't fix overlaps for mode lines. X-Git-Tag: ttn-vms-21-2-B4~2320 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=83e2a07aa00911c775f6ed07d3de12f2bec666d8;p=emacs.git (expose_window): Don't fix overlaps for mode lines. --- 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;