From b55d59bad9fa501202e8eb42a76737ffc6a3ea1d Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Mon, 4 Oct 2004 13:57:31 +0000 Subject: [PATCH] (x_draw_vertical_border): Do not draw line if frame has scroll bars. --- src/xdisp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/xdisp.c b/src/xdisp.c index 82fa97c5190..37a0f9bb9d0 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -21631,6 +21631,9 @@ x_draw_vertical_border (w) 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)) { -- 2.39.2