diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/nsterm.m | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nsterm.m b/src/nsterm.m index b815d775d76..d79e4f4017c 100644 --- a/src/nsterm.m +++ b/src/nsterm.m | |||
| @@ -2873,9 +2873,8 @@ ns_draw_window_cursor (struct window *w, struct glyph_row *glyph_row, | |||
| 2873 | r.size.height = h; | 2873 | r.size.height = h; |
| 2874 | r.size.width = w->phys_cursor_width; | 2874 | r.size.width = w->phys_cursor_width; |
| 2875 | 2875 | ||
| 2876 | /* TODO: only needed in rare cases with last-resort font in HELLO.. | 2876 | /* Prevent the cursor from being drawn outside the text area. */ |
| 2877 | should we do this more efficiently? */ | 2877 | ns_clip_to_row (w, glyph_row, TEXT_AREA, NO); /* do ns_focus(f, &r, 1); if remove */ |
| 2878 | ns_clip_to_row (w, glyph_row, ANY_AREA, NO); /* do ns_focus(f, &r, 1); if remove */ | ||
| 2879 | 2878 | ||
| 2880 | 2879 | ||
| 2881 | face = FACE_OPT_FROM_ID (f, phys_cursor_glyph->face_id); | 2880 | face = FACE_OPT_FROM_ID (f, phys_cursor_glyph->face_id); |