]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/nsterm.m (ns_draw_window_cursor): Fix last change.
authorPo Lu <luangruo@yahoo.com>
Fri, 15 Jul 2022 14:04:52 +0000 (22:04 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 15 Jul 2022 14:04:52 +0000 (22:04 +0800)
src/nsterm.m

index 2372ea8ae061b73141b6c13186122aac9fbff385..582bc9f6a2d086f54fcd6ebd96fcf66852a4f83f 100644 (file)
@@ -3115,6 +3115,7 @@ ns_draw_window_cursor (struct window *w, struct glyph_row *glyph_row,
       ns_unfocus (f);
       draw_phys_cursor_glyph (w, glyph_row, DRAW_NORMAL_TEXT);
       ns_focus (f, &r, 1);
+      [FRAME_CURSOR_COLOR (f) set];
 
       /* This works like it does in PostScript, not X Windows.  */
       [NSBezierPath strokeRect: NSInsetRect (r, 0.5, 0.5)];