changeset 37033:fe7885cc9458

(x_draw_relief_rect): Extend left shadow to the bottom; change bottom shadow accordingly.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 28 Mar 2001 12:36:44 +0000
parents 620f6951fd8a
children 9a09663f91ad
files src/xterm.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Wed Mar 28 12:06:39 2001 +0000
+++ b/src/xterm.c	Wed Mar 28 12:36:44 2001 +0000
@@ -3738,7 +3738,7 @@
   if (left_p)
     for (i = 0; i < width; ++i)
       XDrawLine (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), gc,
-		 left_x + i, top_y + i, left_x + i, bottom_y - i);
+		 left_x + i, top_y + i, left_x + i, bottom_y - i + 1);
 
   XSetClipMask (FRAME_X_DISPLAY (f), gc, None);
   if (raised_p)
@@ -3750,7 +3750,7 @@
   /* Bottom.  */
   for (i = 0; i < width; ++i)
     XDrawLine (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), gc,
-	       left_x + i * left_p, bottom_y - i,
+	       left_x + i * left_p + 1, bottom_y - i,
 	       right_x + 1 - i * right_p, bottom_y - i);
   
   /* Right.  */