]> git.eshelyaron.com Git - emacs.git/commitdiff
* xterm.c (x_draw_stretch_glyph_string): Call x_reset_clip_rectangles instead of...
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Mon, 16 Feb 2015 02:46:04 +0000 (11:46 +0900)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Mon, 16 Feb 2015 02:46:04 +0000 (11:46 +0900)
src/ChangeLog
src/xterm.c

index 0af3f267e8b2cf30f12961dee79adcc5f0069da4..f25c07c55c38206f27ca27fb6cd8f1e979540d69 100644 (file)
@@ -21,6 +21,8 @@
        (x_cr_draw_image, x_fill_rectangle, x_draw_rectangle)
        (x_fill_trapezoid_for_relief): Use int instead of unsigned int for
        width and height args.
+       (x_draw_stretch_glyph_string): Call x_reset_clip_rectangles instead
+       of XSetClipMask.
 
 2015-02-14  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 
index 1844fff1a93c621af696c1a42d310aa5ca45a1ab..94e83e902ff38483c6de217620e076dcc0131e2c 100644 (file)
@@ -3208,7 +3208,7 @@ x_draw_stretch_glyph_string (struct glyph_string *s)
              XSetForeground (s->display, gc, xgcv.foreground);
            }
 
-         XSetClipMask (s->display, gc, None);
+         x_reset_clip_rectangles (s->f, gc);
        }
     }
   else if (!s->background_filled_p)