summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2005-02-12 18:36:01 +0000
committerKim F. Storm <storm@cua.dk>2005-02-12 18:36:01 +0000
commit83e2a07aa00911c775f6ed07d3de12f2bec666d8 (patch)
tree80313dcd82a77e5799dd6c4ef063785d05577a8e
parent48e029b6a82a99a7f56bc270e247f38978e45e0b (diff)
downloademacs-83e2a07aa00911c775f6ed07d3de12f2bec666d8.tar.gz
(expose_window): Don't fix overlaps for mode lines.
-rw-r--r--src/xdisp.c4
1 files changed, 3 insertions, 1 deletions
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;