Mercurial > emacs
comparison src/xterm.c @ 37535:6c6b5bd0f257
(x_draw_stretch_glyph_string): Don't draw background
again if it has already been drawn.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Wed, 02 May 2001 11:12:42 +0000 |
parents | 3ae3b09f76a1 |
children | 7ba9dfa3e191 |
comparison
equal
deleted
inserted
replaced
37534:3ea5075dc420 | 37535:6c6b5bd0f257 |
---|---|
4406 XFillRectangle (s->display, s->window, gc, x, y, w, h); | 4406 XFillRectangle (s->display, s->window, gc, x, y, w, h); |
4407 XSetForeground (s->display, gc, xgcv.foreground); | 4407 XSetForeground (s->display, gc, xgcv.foreground); |
4408 } | 4408 } |
4409 } | 4409 } |
4410 } | 4410 } |
4411 else | 4411 else if (!s->background_filled_p) |
4412 x_draw_glyph_string_bg_rect (s, s->x, s->y, s->background_width, | 4412 x_draw_glyph_string_bg_rect (s, s->x, s->y, s->background_width, |
4413 s->height); | 4413 s->height); |
4414 | 4414 |
4415 s->background_filled_p = 1; | 4415 s->background_filled_p = 1; |
4416 } | 4416 } |