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 | |
| 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')
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/xterm.c | 4 |
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 @@ | |||
| 1 | 2001-03-28 Gerd Moellmann <gerd@gnu.org> | 1 | 2001-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. */ |