Mercurial > emacs
changeset 39950:df00f7799bb7
(x_draw_glyph_string): Restore clipping after
drawing box.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 15 Oct 2001 10:12:08 +0000 |
parents | f169b10c8e00 |
children | 61f87b5895d6 |
files | src/xterm.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xterm.c Mon Oct 15 10:04:31 2001 +0000 +++ b/src/xterm.c Mon Oct 15 10:12:08 2001 +0000 @@ -4446,7 +4446,6 @@ /* 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 @@ || 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) {