diff options
| author | Gerd Moellmann | 2001-03-28 12:37:12 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-03-28 12:37:12 +0000 |
| commit | 44655e779646093e767e78a2f20628fa7afe09ba (patch) | |
| tree | 9d35f56ab624d65770f73a9f81c0858945e244e2 /src/xterm.c | |
| parent | a02f1be0c01bd0c45f1d2cfe00e014a17159ab10 (diff) | |
| download | emacs-44655e779646093e767e78a2f20628fa7afe09ba.tar.gz emacs-44655e779646093e767e78a2f20628fa7afe09ba.zip | |
(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.c | 4 |
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, | |||
| 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. */ |