aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog3
-rw-r--r--src/xterm.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 5cd9330962b..3bd0629198a 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
12001-03-28 Gerd Moellmann <gerd@gnu.org> 12001-03-28 Gerd Moellmann <gerd@gnu.org>
2 2
3 * xterm.c (x_draw_relief_rect): Extend left shadow to the
4 bottom; change bottom shadow accordingly.
5
3 * xterm.c (expose_window_tree, expose_frame): Don't compute 6 * xterm.c (expose_window_tree, expose_frame): Don't compute
4 intersections here. 7 intersections here.
5 (expose_window): Do it here instead. 8 (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,
3738 if (left_p) 3738 if (left_p)
3739 for (i = 0; i < width; ++i) 3739 for (i = 0; i < width; ++i)
3740 XDrawLine (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), gc, 3740 XDrawLine (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), gc,
3741 left_x + i, top_y + i, left_x + i, bottom_y - i); 3741 left_x + i, top_y + i, left_x + i, bottom_y - i + 1);
3742 3742
3743 XSetClipMask (FRAME_X_DISPLAY (f), gc, None); 3743 XSetClipMask (FRAME_X_DISPLAY (f), gc, None);
3744 if (raised_p) 3744 if (raised_p)
@@ -3750,7 +3750,7 @@ x_draw_relief_rect (f, left_x, top_y, right_x, bottom_y, width,
3750 /* Bottom. */ 3750 /* Bottom. */
3751 for (i = 0; i < width; ++i) 3751 for (i = 0; i < width; ++i)
3752 XDrawLine (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), gc, 3752 XDrawLine (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), gc,
3753 left_x + i * left_p, bottom_y - i, 3753 left_x + i * left_p + 1, bottom_y - i,
3754 right_x + 1 - i * right_p, bottom_y - i); 3754 right_x + 1 - i * right_p, bottom_y - i);
3755 3755
3756 /* Right. */ 3756 /* Right. */