Commit 44655e77 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(x_draw_relief_rect): Extend left shadow to the

bottom; change bottom shadow accordingly.
parent a02f1be0
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.
......
......@@ -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. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment