diff options
| author | Gerd Moellmann | 2001-10-15 10:12:08 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-10-15 10:12:08 +0000 |
| commit | e6269cbb9ee2a0297e042cb066a996df87a41a1d (patch) | |
| tree | 269075426108be6dc7d4aa913c942ae201e40840 | |
| parent | 7dfd439c45151c5c0d7045465a783b9310ffba69 (diff) | |
| download | emacs-e6269cbb9ee2a0297e042cb066a996df87a41a1d.tar.gz emacs-e6269cbb9ee2a0297e042cb066a996df87a41a1d.zip | |
(x_draw_glyph_string): Restore clipping after
drawing box.
| -rw-r--r-- | src/xterm.c | 5 |
1 files changed, 4 insertions, 1 deletions
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) | |||
| 4446 | 4446 | ||
| 4447 | /* Set up S->gc, set clipping and draw S. */ | 4447 | /* Set up S->gc, set clipping and draw S. */ |
| 4448 | x_set_glyph_string_gc (s); | 4448 | x_set_glyph_string_gc (s); |
| 4449 | x_set_glyph_string_clipping (s); | ||
| 4450 | 4449 | ||
| 4451 | /* Draw relief (if any) in advance for char/composition so that the | 4450 | /* Draw relief (if any) in advance for char/composition so that the |
| 4452 | glyph string can be drawn over it. */ | 4451 | glyph string can be drawn over it. */ |
| @@ -4456,10 +4455,14 @@ x_draw_glyph_string (s) | |||
| 4456 | || s->first_glyph->type == COMPOSITE_GLYPH)) | 4455 | || s->first_glyph->type == COMPOSITE_GLYPH)) |
| 4457 | 4456 | ||
| 4458 | { | 4457 | { |
| 4458 | x_set_glyph_string_clipping (s); | ||
| 4459 | x_draw_glyph_string_background (s, 1); | 4459 | x_draw_glyph_string_background (s, 1); |
| 4460 | x_draw_glyph_string_box (s); | 4460 | x_draw_glyph_string_box (s); |
| 4461 | x_set_glyph_string_clipping (s); | ||
| 4461 | relief_drawn_p = 1; | 4462 | relief_drawn_p = 1; |
| 4462 | } | 4463 | } |
| 4464 | else | ||
| 4465 | x_set_glyph_string_clipping (s); | ||
| 4463 | 4466 | ||
| 4464 | switch (s->first_glyph->type) | 4467 | switch (s->first_glyph->type) |
| 4465 | { | 4468 | { |