From: Gerd Moellmann Date: Wed, 28 Mar 2001 12:37:12 +0000 (+0000) Subject: (x_draw_relief_rect): Extend left shadow to the X-Git-Tag: emacs-pretest-21.0.101~137 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=44655e779646093e767e78a2f20628fa7afe09ba;p=emacs.git (x_draw_relief_rect): Extend left shadow to the bottom; change bottom shadow accordingly. --- diff --git a/src/ChangeLog b/src/ChangeLog index 5cd9330962b..3bd0629198a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2001-03-28 Gerd Moellmann + * 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. diff --git a/src/xterm.c b/src/xterm.c index 53ee5c490f9..8c2b16d571c 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -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. */