diff src/xterm.c @ 72470:3b82c004bf25

(x_draw_stretch_glyph_string): It is ok to draw a stretch glyph in left marginal areas on header and mode lines.
author Kim F. Storm <storm@cua.dk>
date Mon, 21 Aug 2006 08:53:32 +0000
parents 90ea1ead0e3f
children 759e19ea81e5
line wrap: on
line diff
--- a/src/xterm.c	Mon Aug 21 08:52:54 2006 +0000
+++ b/src/xterm.c	Mon Aug 21 08:53:32 2006 +0000
@@ -2589,7 +2589,9 @@
       int background_width = s->background_width;
       int x = s->x, left_x = window_box_left_offset (s->w, TEXT_AREA);
 
-      if (x < left_x)
+      /* Don't draw into left margin, fringe or scrollbar area
+         except for header line and mode line.  */
+      if (x < left_x && !s->row->mode_line_p)
 	{
 	  background_width -= left_x - x;
 	  x = left_x;