* xterm.c (x_draw_stretch_glyph_string): Reset clipping. (Bug#16932)
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Tue, 4 Mar 2014 11:02:36 +0000 (20:02 +0900)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Tue, 4 Mar 2014 11:02:36 +0000 (20:02 +0900)
src/ChangeLog
src/xterm.c

index 9ca2d81..54ee0ff 100644 (file)
@@ -1,3 +1,8 @@
+2014-03-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * xterm.c (x_draw_stretch_glyph_string): Reset clipping.
+       (Bug#16932)
+
 2014-03-04  Michal Nazarewicz  <mina86@mina86.com>
 
        * cmds.c (delete-char): Update docstring pointing out that the
index f062250..71b5126 100644 (file)
@@ -2501,6 +2501,8 @@ x_draw_stretch_glyph_string (struct glyph_string *s)
              XFillRectangle (s->display, s->window, gc, x, y, w, h);
              XSetForeground (s->display, gc, xgcv.foreground);
            }
+
+         XSetClipMask (s->display, gc, None);
        }
     }
   else if (!s->background_filled_p)