diff options
| author | YAMAMOTO Mitsuharu | 2007-08-11 02:06:37 +0000 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2007-08-11 02:06:37 +0000 |
| commit | 14e1270cdebbb0a3dbb340ae32d69ff4180d5e21 (patch) | |
| tree | 7467e555b39046eff36b8a173a866ae0613aa08a | |
| parent | 5bdc71d0cd0dde41c781591951695cf509585f78 (diff) | |
| download | emacs-14e1270cdebbb0a3dbb340ae32d69ff4180d5e21.tar.gz emacs-14e1270cdebbb0a3dbb340ae32d69ff4180d5e21.zip | |
(x_draw_image_glyph_string): Adjust stipple origin when
filling pixmap with stippled background.
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/xterm.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index dd86df3ef62..0447af98490 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2007-08-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | ||
| 2 | |||
| 3 | * xterm.c (x_draw_image_glyph_string): Adjust stipple origin when | ||
| 4 | filling pixmap with stippled background. | ||
| 5 | |||
| 1 | 2007-08-10 Stefan Monnier <monnier@iro.umontreal.ca> | 6 | 2007-08-10 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 7 | ||
| 3 | * print.c (new_backquote_output): Rename from old_backquote_output. | 8 | * print.c (new_backquote_output): Rename from old_backquote_output. |
diff --git a/src/xterm.c b/src/xterm.c index 00d653fc19f..512fff35f50 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -2476,9 +2476,11 @@ x_draw_image_glyph_string (s) | |||
| 2476 | { | 2476 | { |
| 2477 | /* Fill background with a stipple pattern. */ | 2477 | /* Fill background with a stipple pattern. */ |
| 2478 | XSetFillStyle (s->display, s->gc, FillOpaqueStippled); | 2478 | XSetFillStyle (s->display, s->gc, FillOpaqueStippled); |
| 2479 | XSetTSOrigin (s->display, s->gc, - s->x, - s->y); | ||
| 2479 | XFillRectangle (s->display, pixmap, s->gc, | 2480 | XFillRectangle (s->display, pixmap, s->gc, |
| 2480 | 0, 0, s->background_width, s->height); | 2481 | 0, 0, s->background_width, s->height); |
| 2481 | XSetFillStyle (s->display, s->gc, FillSolid); | 2482 | XSetFillStyle (s->display, s->gc, FillSolid); |
| 2483 | XSetTSOrigin (s->display, s->gc, 0, 0); | ||
| 2482 | } | 2484 | } |
| 2483 | else | 2485 | else |
| 2484 | { | 2486 | { |