1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 15:00:45 -08:00

(x_draw_relief_rect): Extend left shadow to the

bottom; change bottom shadow accordingly.
This commit is contained in:
Gerd Moellmann 2001-03-28 12:37:12 +00:00
parent a02f1be0c0
commit 44655e7796
2 changed files with 5 additions and 2 deletions

View 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.

View 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. */