changeset 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 97c5ed4f08bc
children bb26dfdf2698
files src/xdisp.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
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);
     }
 }