Mercurial > emacs
diff src/xdisp.c @ 63878:675ea4d66e85
(x_draw_vertical_border): If left fringe is not present
decrease x coord of vertical border by 1 pixel to not occupy text
area of the right window.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Thu, 30 Jun 2005 14:56:02 +0000 |
parents | c695baa505d4 |
children | 443cb2507f88 |
line wrap: on
line diff
--- a/src/xdisp.c Thu Jun 30 14:20:56 2005 +0000 +++ b/src/xdisp.c Thu Jun 30 14:56:02 2005 +0000 @@ -22400,6 +22400,9 @@ window_box_edges (w, -1, &x0, &y0, &x1, &y1); y1 -= 1; + if (WINDOW_LEFT_FRINGE_WIDTH (w) == 0) + x1 -= 1; + rif->draw_vertical_window_border (w, x1, y0, y1); } else if (!WINDOW_LEFTMOST_P (w) @@ -22410,6 +22413,9 @@ window_box_edges (w, -1, &x0, &y0, &x1, &y1); y1 -= 1; + if (WINDOW_LEFT_FRINGE_WIDTH (w) == 0) + x0 -= 1; + rif->draw_vertical_window_border (w, x0, y0, y1); } }