]> git.eshelyaron.com Git - emacs.git/commitdiff
(expose_window): Don't fix overlaps for mode lines.
authorKim F. Storm <storm@cua.dk>
Sat, 12 Feb 2005 18:36:01 +0000 (18:36 +0000)
committerKim F. Storm <storm@cua.dk>
Sat, 12 Feb 2005 18:36:01 +0000 (18:36 +0000)
src/xdisp.c

index 0f385dc08df529c6ccc70792b42e92be205d5ea5..fbbd2ccb246941ddc99d8af7e82ab6e5b464525f 100644 (file)
@@ -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;