]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_draw_image_glyph_string): Adjust stipple origin when
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Sat, 11 Aug 2007 02:04:58 +0000 (02:04 +0000)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Sat, 11 Aug 2007 02:04:58 +0000 (02:04 +0000)
filling pixmap with stippled background.

src/ChangeLog
src/xterm.c

index 77e1a499f9d1937f15242a3331f49f39dd3d1dc6..6b13b9064553e336543a08c2401d757e3a99c02a 100644 (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  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 
        * macterm.c [TARGET_API_MAC_CARBON] (mac_handle_window_event):
index d79815148be5aa70b21b6b41664e047358c8e46a..2d9de86a4458ece763ffe4fec96acec95055ab23 100644 (file)
@@ -2525,9 +2525,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
            {