diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-06-06 12:22:25 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-06-06 12:22:25 +0000 |
| commit | fd99b28beba3ea13d3f5cd859454da8c06efbb41 (patch) | |
| tree | 2e0650faf95e33009d70c4eafd42287376227f6c | |
| parent | sixel: don't erase image when printing text *next* to it. (diff) | |
render: cell: reset clip region also when we're NOT rendering a glyph
| -rw-r--r-- | render.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -479,7 +479,6 @@ render_cell(struct terminal *term, pixman_image_t *pix, } } - pixman_image_set_clip_region32(pix, NULL); } pixman_image_unref(clr_pix); @@ -499,6 +498,7 @@ draw_cursor: if (has_cursor && (term->cursor_style != CURSOR_BLOCK || !term->visual_focus)) draw_cursor(term, cell, font, pix, &fg, &bg, x, y, cell_cols); + pixman_image_set_clip_region32(pix, NULL); return cell_cols; } |
