From: Gerd Moellmann Date: Mon, 15 Oct 2001 10:12:08 +0000 (+0000) Subject: (x_draw_glyph_string): Restore clipping after X-Git-Tag: ttn-vms-21-2-B4~19427 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e6269cbb9ee2a0297e042cb066a996df87a41a1d;p=emacs.git (x_draw_glyph_string): Restore clipping after drawing box. --- diff --git a/src/xterm.c b/src/xterm.c index c6b6f477359..1fe78ad6407 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -4446,7 +4446,6 @@ x_draw_glyph_string (s) /* Set up S->gc, set clipping and draw S. */ x_set_glyph_string_gc (s); - x_set_glyph_string_clipping (s); /* Draw relief (if any) in advance for char/composition so that the glyph string can be drawn over it. */ @@ -4456,10 +4455,14 @@ x_draw_glyph_string (s) || s->first_glyph->type == COMPOSITE_GLYPH)) { + x_set_glyph_string_clipping (s); x_draw_glyph_string_background (s, 1); x_draw_glyph_string_box (s); + x_set_glyph_string_clipping (s); relief_drawn_p = 1; } + else + x_set_glyph_string_clipping (s); switch (s->first_glyph->type) {