]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_draw_relief_rect): Extend left shadow to the
authorGerd Moellmann <gerd@gnu.org>
Wed, 28 Mar 2001 12:37:12 +0000 (12:37 +0000)
committerGerd Moellmann <gerd@gnu.org>
Wed, 28 Mar 2001 12:37:12 +0000 (12:37 +0000)
bottom; change bottom shadow accordingly.

src/ChangeLog
src/xterm.c

index 5cd9330962b24111a2a78b6db53957279411b435..3bd0629198a9a021a5c64c5eb35ad9a1f77b97d4 100644 (file)
@@ -1,5 +1,8 @@
 2001-03-28  Gerd Moellmann  <gerd@gnu.org>
 
+       * xterm.c (x_draw_relief_rect): Extend left shadow to the 
+       bottom; change bottom shadow accordingly.
+       
        * xterm.c (expose_window_tree, expose_frame): Don't compute 
        intersections here.
        (expose_window): Do it here instead.
index 53ee5c490f9f86bfb06a82d8685587fd9db4fd98..8c2b16d571c60c550c32c14ffc8f88443129255a 100644 (file)
@@ -3738,7 +3738,7 @@ x_draw_relief_rect (f, left_x, top_y, right_x, bottom_y, width,
   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 @@ x_draw_relief_rect (f, left_x, top_y, right_x, bottom_y, width,
   /* 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.  */