1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-18 10:16:51 +00:00

(x_draw_glyph_string): Restore clipping after

drawing box.
This commit is contained in:
Gerd Moellmann 2001-10-15 10:12:08 +00:00
parent 7dfd439c45
commit e6269cbb9e

View File

@ -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)
{