diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/xterm.c | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index f811a4e2dde..aa598372946 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2001-12-28 Gerd Moellmann <gerd@gnu.org> | 1 | 2001-12-28 Gerd Moellmann <gerd@gnu.org> |
| 2 | 2 | ||
| 3 | * xterm.c (x_setup_relief_colors): Don't compute an image's | ||
| 4 | background color if it doesn't have a Pixmap. | ||
| 5 | |||
| 3 | * xterm.c (notice_overwritten_cursor): Don't depend on | 6 | * xterm.c (notice_overwritten_cursor): Don't depend on |
| 4 | output_cursor and updated_area. Compare pixel coordinates with | 7 | output_cursor and updated_area. Compare pixel coordinates with |
| 5 | window's cursor pixel coordinates. | 8 | window's cursor pixel coordinates. |
| @@ -7,7 +10,7 @@ | |||
| 7 | notice_overwritten_cursor with new arg list. | 10 | notice_overwritten_cursor with new arg list. |
| 8 | (show_mouse_face): Fix bug setting a row's mouse_face_p flag | 11 | (show_mouse_face): Fix bug setting a row's mouse_face_p flag |
| 9 | unconditionally. | 12 | unconditionally. |
| 10 | 13 | ||
| 11 | * xdisp.c (try_scrolling) <PT below scroll margin>: Add the | 14 | * xdisp.c (try_scrolling) <PT below scroll margin>: Add the |
| 12 | height of the cursor line to the amount to scroll. | 15 | height of the cursor line to the amount to scroll. |
| 13 | 16 | ||
diff --git a/src/xterm.c b/src/xterm.c index fd2964e4624..f7a65943780 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -3837,6 +3837,7 @@ x_setup_relief_colors (s) | |||
| 3837 | if (s->face->use_box_color_for_shadows_p) | 3837 | if (s->face->use_box_color_for_shadows_p) |
| 3838 | color = s->face->box_color; | 3838 | color = s->face->box_color; |
| 3839 | else if (s->first_glyph->type == IMAGE_GLYPH | 3839 | else if (s->first_glyph->type == IMAGE_GLYPH |
| 3840 | && s->img->pixmap | ||
| 3840 | && !IMAGE_BACKGROUND_TRANSPARENT (s->img, s->f, 0)) | 3841 | && !IMAGE_BACKGROUND_TRANSPARENT (s->img, s->f, 0)) |
| 3841 | color = IMAGE_BACKGROUND (s->img, s->f, 0); | 3842 | color = IMAGE_BACKGROUND (s->img, s->f, 0); |
| 3842 | else | 3843 | else |