background color if it doesn't have a Pixmap.
2001-12-28 Gerd Moellmann <gerd@gnu.org>
+ * xterm.c (x_setup_relief_colors): Don't compute an image's
+ background color if it doesn't have a Pixmap.
+
* xterm.c (notice_overwritten_cursor): Don't depend on
output_cursor and updated_area. Compare pixel coordinates with
window's cursor pixel coordinates.
notice_overwritten_cursor with new arg list.
(show_mouse_face): Fix bug setting a row's mouse_face_p flag
unconditionally.
-
+
* xdisp.c (try_scrolling) <PT below scroll margin>: Add the
height of the cursor line to the amount to scroll.
if (s->face->use_box_color_for_shadows_p)
color = s->face->box_color;
else if (s->first_glyph->type == IMAGE_GLYPH
+ && s->img->pixmap
&& !IMAGE_BACKGROUND_TRANSPARENT (s->img, s->f, 0))
color = IMAGE_BACKGROUND (s->img, s->f, 0);
else