diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/xterm.c b/src/xterm.c index 70fa054bcfd..930d9cf370c 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -2549,9 +2549,7 @@ x_compute_glyph_string_overhangs (struct glyph_string *s) | |||
| 2549 | static void | 2549 | static void |
| 2550 | x_clear_glyph_string_rect (struct glyph_string *s, int x, int y, int w, int h) | 2550 | x_clear_glyph_string_rect (struct glyph_string *s, int x, int y, int w, int h) |
| 2551 | { | 2551 | { |
| 2552 | x_clear_rectangle (s->f, s->gc, x, y, w, h, | 2552 | x_clear_rectangle (s->f, s->gc, x, y, w, h, s->hl != DRAW_CURSOR); |
| 2553 | (s->first_glyph->type != STRETCH_GLYPH | ||
| 2554 | || s->hl != DRAW_CURSOR)); | ||
| 2555 | } | 2553 | } |
| 2556 | 2554 | ||
| 2557 | 2555 | ||
| @@ -2580,7 +2578,7 @@ x_draw_glyph_string_background (struct glyph_string *s, bool force_p) | |||
| 2580 | s->y + box_line_width, | 2578 | s->y + box_line_width, |
| 2581 | s->background_width, | 2579 | s->background_width, |
| 2582 | s->height - 2 * box_line_width, | 2580 | s->height - 2 * box_line_width, |
| 2583 | true); | 2581 | s->hl != DRAW_CURSOR); |
| 2584 | XSetFillStyle (display, s->gc, FillSolid); | 2582 | XSetFillStyle (display, s->gc, FillSolid); |
| 2585 | s->background_filled_p = true; | 2583 | s->background_filled_p = true; |
| 2586 | } | 2584 | } |
| @@ -4246,7 +4244,7 @@ x_draw_glyph_string_bg_rect (struct glyph_string *s, int x, int y, int w, int h) | |||
| 4246 | 4244 | ||
| 4247 | /* Fill background with a stipple pattern. */ | 4245 | /* Fill background with a stipple pattern. */ |
| 4248 | XSetFillStyle (display, s->gc, FillOpaqueStippled); | 4246 | XSetFillStyle (display, s->gc, FillOpaqueStippled); |
| 4249 | x_fill_rectangle (s->f, s->gc, x, y, w, h, false); | 4247 | x_fill_rectangle (s->f, s->gc, x, y, w, h, true); |
| 4250 | XSetFillStyle (display, s->gc, FillSolid); | 4248 | XSetFillStyle (display, s->gc, FillSolid); |
| 4251 | } | 4249 | } |
| 4252 | else | 4250 | else |