Mercurial > emacs
changeset 82349:06b928ed4503
(x_draw_image_glyph_string): Adjust stipple origin when
filling pixmap with stippled background.
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
---|---|
date | Sat, 11 Aug 2007 02:04:47 +0000 |
parents | 170a50c66d9b |
children | 2485f9df6ae7 |
files | src/xterm.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xterm.c Fri Aug 10 10:13:44 2007 +0000 +++ b/src/xterm.c Sat Aug 11 02:04:47 2007 +0000 @@ -2525,9 +2525,11 @@ { /* 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 {