Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
72469:c62aa4c24b5d | 72470:3b82c004bf25 |
---|---|
2587 else if (!s->background_filled_p) | 2587 else if (!s->background_filled_p) |
2588 { | 2588 { |
2589 int background_width = s->background_width; | 2589 int background_width = s->background_width; |
2590 int x = s->x, left_x = window_box_left_offset (s->w, TEXT_AREA); | 2590 int x = s->x, left_x = window_box_left_offset (s->w, TEXT_AREA); |
2591 | 2591 |
2592 if (x < left_x) | 2592 /* Don't draw into left margin, fringe or scrollbar area |
2593 except for header line and mode line. */ | |
2594 if (x < left_x && !s->row->mode_line_p) | |
2593 { | 2595 { |
2594 background_width -= left_x - x; | 2596 background_width -= left_x - x; |
2595 x = left_x; | 2597 x = left_x; |
2596 } | 2598 } |
2597 if (background_width > 0) | 2599 if (background_width > 0) |