1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-10 21:50:37 -08:00

(x_draw_image_glyph_string): Adjust stipple origin when

filling pixmap with stippled background.
This commit is contained in:
YAMAMOTO Mitsuharu 2007-08-11 02:06:37 +00:00
parent 5bdc71d0cd
commit 14e1270cde
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2007-08-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* xterm.c (x_draw_image_glyph_string): Adjust stipple origin when
filling pixmap with stippled background.
2007-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
* print.c (new_backquote_output): Rename from old_backquote_output.

View file

@ -2476,9 +2476,11 @@ x_draw_image_glyph_string (s)
{
/* Fill background with a stipple pattern. */
XSetFillStyle (s->display, s->gc, FillOpaqueStippled);
XSetTSOrigin (s->display, s->gc, - s->x, - s->y);
XFillRectangle (s->display, pixmap, s->gc,
0, 0, s->background_width, s->height);
XSetFillStyle (s->display, s->gc, FillSolid);
XSetTSOrigin (s->display, s->gc, 0, 0);
}
else
{