# HG changeset patch # User Gerd Moellmann # Date 985783004 0 # Node ID fe7885cc9458ee86b1923158665458eb3a80a93a # Parent 620f6951fd8a32cbdb98a7dc701c90a6c9fc277c (x_draw_relief_rect): Extend left shadow to the bottom; change bottom shadow accordingly. diff -r 620f6951fd8a -r fe7885cc9458 src/xterm.c --- 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. */