diff options
| author | Joakim Verona | 2012-09-10 16:03:53 +0200 |
|---|---|---|
| committer | Joakim Verona | 2012-09-10 16:03:53 +0200 |
| commit | b035a30e5cd2f34fedc04c253eeb5a11afed8145 (patch) | |
| tree | b9350cce389602f4967bdc1beed745929155ad5d /src/fringe.c | |
| parent | 4a37733c693d59a9b83a3fb2d0c7f9461d149f60 (diff) | |
| parent | a31a4cdacb196cc96dcb9bd229edb1d635e01344 (diff) | |
| download | emacs-b035a30e5cd2f34fedc04c253eeb5a11afed8145.tar.gz emacs-b035a30e5cd2f34fedc04c253eeb5a11afed8145.zip | |
upstream
Diffstat (limited to 'src/fringe.c')
| -rw-r--r-- | src/fringe.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/fringe.c b/src/fringe.c index 97d03a2bfae..0c2109a0f8e 100644 --- a/src/fringe.c +++ b/src/fringe.c | |||
| @@ -659,7 +659,14 @@ draw_fringe_bitmap_1 (struct window *w, struct glyph_row *row, int left_p, int o | |||
| 659 | { | 659 | { |
| 660 | /* If W has a vertical border to its left, don't draw over it. */ | 660 | /* If W has a vertical border to its left, don't draw over it. */ |
| 661 | wd -= ((!WINDOW_LEFTMOST_P (w) | 661 | wd -= ((!WINDOW_LEFTMOST_P (w) |
| 662 | && !WINDOW_HAS_VERTICAL_SCROLL_BAR (w)) | 662 | && !WINDOW_HAS_VERTICAL_SCROLL_BAR (w) |
| 663 | /* But don't reduce the fringe width if the window | ||
| 664 | has a left margin, because that means we are not | ||
| 665 | in danger of drawing over the vertical border, | ||
| 666 | and OTOH leaving out that one pixel leaves behind | ||
| 667 | traces of the cursor, if it was in column zero | ||
| 668 | before drawing non-empty margin area. */ | ||
| 669 | && NILP (w->left_margin_cols)) | ||
| 663 | ? 1 : 0); | 670 | ? 1 : 0); |
| 664 | p.bx = x - wd; | 671 | p.bx = x - wd; |
| 665 | p.nx = wd; | 672 | p.nx = wd; |