# HG changeset patch # User Kim F. Storm # Date 1156150412 0 # Node ID 3b82c004bf25afecff5d099b8111c4af9065428c # Parent c62aa4c24b5d6ed1d3dc15cd825b48a978bbe559 (x_draw_stretch_glyph_string): It is ok to draw a stretch glyph in left marginal areas on header and mode lines. diff -r c62aa4c24b5d -r 3b82c004bf25 src/macterm.c --- a/src/macterm.c Mon Aug 21 08:52:54 2006 +0000 +++ b/src/macterm.c Mon Aug 21 08:53:32 2006 +0000 @@ -3583,7 +3583,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; diff -r c62aa4c24b5d -r 3b82c004bf25 src/w32term.c --- a/src/w32term.c Mon Aug 21 08:52:54 2006 +0000 +++ b/src/w32term.c Mon Aug 21 08:53:32 2006 +0000 @@ -2418,7 +2418,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; diff -r c62aa4c24b5d -r 3b82c004bf25 src/xterm.c --- 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;