From: Juri Linkov Date: Thu, 30 Jun 2005 14:56:02 +0000 (+0000) Subject: (x_draw_vertical_border): If left fringe is not present X-Git-Tag: emacs-pretest-22.0.90~8547 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=74fb229b2afe71c929eafa1d1b4ed4d3befe7f13;p=emacs.git (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. --- diff --git a/src/xdisp.c b/src/xdisp.c index 51ce35fedd7..40e83c7d37c 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -22400,6 +22400,9 @@ x_draw_vertical_border (w) 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 @@ x_draw_vertical_border (w) 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); } }