# HG changeset patch # User Kim F. Storm # Date 1108233361 0 # Node ID 582f5e2fbf3aac6e986c0f900df2f3bd27469164 # Parent 879ca0acfb70f00c4a0a83efe9ffcd44c37c97a1 (expose_window): Don't fix overlaps for mode lines. diff -r 879ca0acfb70 -r 582f5e2fbf3a src/xdisp.c --- a/src/xdisp.c Sat Feb 12 18:35:45 2005 +0000 +++ b/src/xdisp.c Sat Feb 12 18:36:01 2005 +0000 @@ -22090,7 +22090,9 @@ || (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;