From 49dd99495814e968db999167934f9b2092e8cc20 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Mon, 16 Feb 2015 11:46:04 +0900 Subject: [PATCH] * xterm.c (x_draw_stretch_glyph_string): Call x_reset_clip_rectangles instead of XSetClipMask. --- src/ChangeLog | 2 ++ src/xterm.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 0af3f267e8b..f25c07c55c3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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 diff --git a/src/xterm.c b/src/xterm.c index 1844fff1a93..94e83e902ff 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -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) -- 2.39.5