diff src/nsterm.m @ 109835:58e44f7a82d5

* nsterm.m (ns_define_frame_cursor): Call x_update_cursor (Bug#6868).
author Jan D <jan.h.d@swipnet.se>
date Wed, 18 Aug 2010 10:06:45 +0200
parents 9cfca8c9fb07
children f576b550fb69
line wrap: on
line diff
--- a/src/nsterm.m	Wed Aug 18 07:46:27 2010 +0000
+++ b/src/nsterm.m	Wed Aug 18 10:06:45 2010 +0200
@@ -1792,6 +1792,9 @@
       EmacsView *view = FRAME_NS_VIEW (f);
       FRAME_POINTER_TYPE (f) = cursor;
       [[view window] invalidateCursorRectsForView: view];
+      /* Redisplay assumes this function also draws the changed frame
+         cursor, but this function doesn't, so do it explicitly.  */
+      x_update_cursor (f, 1);
     }
 }