summaryrefslogtreecommitdiff
path: root/src/xterm.c
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2001-03-28 12:37:12 +0000
committerGerd Moellmann <gerd@gnu.org>2001-03-28 12:37:12 +0000
commit44655e779646093e767e78a2f20628fa7afe09ba (patch)
tree9d35f56ab624d65770f73a9f81c0858945e244e2 /src/xterm.c
parenta02f1be0c01bd0c45f1d2cfe00e014a17159ab10 (diff)
downloademacs-44655e779646093e767e78a2f20628fa7afe09ba.tar.gz
(x_draw_relief_rect): Extend left shadow to the
bottom; change bottom shadow accordingly.
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c4
1 files changed, 2 insertions, 2 deletions
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. */