changeset 60026:582f5e2fbf3a

(expose_window): Don't fix overlaps for mode lines.
author Kim F. Storm <storm@cua.dk>
date Sat, 12 Feb 2005 18:36:01 +0000
parents 879ca0acfb70
children 8f9cab9fa533
files src/xdisp.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;