aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKim F. Storm2004-10-04 13:57:31 +0000
committerKim F. Storm2004-10-04 13:57:31 +0000
commitb55d59bad9fa501202e8eb42a76737ffc6a3ea1d (patch)
treed03cf4a0b7cd9e0fae94c7f54642a37f7059aee6 /src
parent562020fe6f943c77000fdaa2b3def3ea633fc1b1 (diff)
downloademacs-b55d59bad9fa501202e8eb42a76737ffc6a3ea1d.tar.gz
emacs-b55d59bad9fa501202e8eb42a76737ffc6a3ea1d.zip
(x_draw_vertical_border): Do not draw line if frame has scroll bars.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c3
1 files changed, 3 insertions, 0 deletions
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)
21631 do it for frames with vertical scroll bars because either the 21631 do it for frames with vertical scroll bars because either the
21632 right scroll bar of a window, or the left scroll bar of its 21632 right scroll bar of a window, or the left scroll bar of its
21633 neighbor will suffice as a border. */ 21633 neighbor will suffice as a border. */
21634 if (FRAME_HAS_VERTICAL_SCROLL_BARS (XFRAME (w->frame)))
21635 return;
21636
21634 if (!WINDOW_RIGHTMOST_P (w) 21637 if (!WINDOW_RIGHTMOST_P (w)
21635 && !WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_RIGHT (w)) 21638 && !WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_RIGHT (w))
21636 { 21639 {