Don't redraw the glyph on top of bar cursors
* src/nsterm.m (ns_draw_window_cursor): Limit when we redraw the glyph.
This commit is contained in:
parent
eed512814c
commit
d2270d8fc9
1 changed files with 3 additions and 2 deletions
|
@ -3262,8 +3262,9 @@ Note that CURSOR_WIDTH is meaningful only for (h)bar cursors.
|
|||
break;
|
||||
}
|
||||
|
||||
/* draw the character under the cursor */
|
||||
if (cursor_type != NO_CURSOR)
|
||||
/* Draw the character under the cursor. Other terms only draw
|
||||
the character on top of box cursors, so do the same here. */
|
||||
if (cursor_type == FILLED_BOX_CURSOR || cursor_type == HOLLOW_BOX_CURSOR)
|
||||
draw_phys_cursor_glyph (w, glyph_row, DRAW_CURSOR);
|
||||
|
||||
ns_reset_clipping (f);
|
||||
|
|
Loading…
Add table
Reference in a new issue