diff options
| author | YAMAMOTO Mitsuharu | 2007-08-11 02:04:58 +0000 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2007-08-11 02:04:58 +0000 |
| commit | 6c28435c8c46a74e71a7767761a3cfe2daf0466f (patch) | |
| tree | 09db09d9a00088453b042baaf6ec3c50bc9a33d2 /src | |
| parent | b16f162d31dec941cdfcee16a189c07f3688dc6a (diff) | |
| download | emacs-6c28435c8c46a74e71a7767761a3cfe2daf0466f.tar.gz emacs-6c28435c8c46a74e71a7767761a3cfe2daf0466f.zip | |
(x_draw_image_glyph_string): Adjust stipple origin when
filling pixmap with stippled background.
Diffstat (limited to 'src')
| -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 77e1a499f9d..6b13b906455 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 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 6 | 2007-08-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 2 | 7 | ||
| 3 | * macterm.c [TARGET_API_MAC_CARBON] (mac_handle_window_event): | 8 | * macterm.c [TARGET_API_MAC_CARBON] (mac_handle_window_event): |
diff --git a/src/xterm.c b/src/xterm.c index d79815148be..2d9de86a445 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -2525,9 +2525,11 @@ x_draw_image_glyph_string (s) | |||
| 2525 | { | 2525 | { |
| 2526 | /* Fill background with a stipple pattern. */ | 2526 | /* Fill background with a stipple pattern. */ |
| 2527 | XSetFillStyle (s->display, s->gc, FillOpaqueStippled); | 2527 | XSetFillStyle (s->display, s->gc, FillOpaqueStippled); |
| 2528 | XSetTSOrigin (s->display, s->gc, - s->x, - s->y); | ||
| 2528 | XFillRectangle (s->display, pixmap, s->gc, | 2529 | XFillRectangle (s->display, pixmap, s->gc, |
| 2529 | 0, 0, s->background_width, s->height); | 2530 | 0, 0, s->background_width, s->height); |
| 2530 | XSetFillStyle (s->display, s->gc, FillSolid); | 2531 | XSetFillStyle (s->display, s->gc, FillSolid); |
| 2532 | XSetTSOrigin (s->display, s->gc, 0, 0); | ||
| 2531 | } | 2533 | } |
| 2532 | else | 2534 | else |
| 2533 | { | 2535 | { |