changeset 57313:6fd660640e42

(x_draw_vertical_border): Do not draw line if frame has scroll bars.
author Kim F. Storm <storm@cua.dk>
date Mon, 04 Oct 2004 13:57:31 +0000
parents 9c9d96da850a
children 94a5dcc33036
files src/xdisp.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Mon Oct 04 13:57:13 2004 +0000
+++ b/src/xdisp.c	Mon Oct 04 13:57:31 2004 +0000
@@ -21631,6 +21631,9 @@
      do it for frames with vertical scroll bars because either the
      right scroll bar of a window, or the left scroll bar of its
      neighbor will suffice as a border.  */
+  if (FRAME_HAS_VERTICAL_SCROLL_BARS (XFRAME (w->frame)))
+    return;
+
   if (!WINDOW_RIGHTMOST_P (w)
       && !WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_RIGHT (w))
     {