]> git.eshelyaron.com Git - emacs.git/commitdiff
* nsterm.m (ns_define_frame_cursor): Call x_update_cursor (Bug#6868).
authorJan D <jan.h.d@swipnet.se>
Wed, 18 Aug 2010 08:06:45 +0000 (10:06 +0200)
committerJan D <jan.h.d@swipnet.se>
Wed, 18 Aug 2010 08:06:45 +0000 (10:06 +0200)
src/ChangeLog
src/nsterm.m

index 060b8fb739fcc997d02df9936ae4ea20365a457d..576966dfba39b0ba0e726ba3ef0a40e118b697bf 100644 (file)
@@ -1,3 +1,7 @@
+2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * nsterm.m (ns_define_frame_cursor): Call x_update_cursor (Bug#6868).
+
 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
 
        * gtkutil.c (update_frame_tool_bar): Literal stings are const char*.
index 88d47d4197237b4e6f48aea569f5b40d90d43b39..2eb84607562184c5fbb91712ec8727b30daf8f42 100644 (file)
@@ -1792,6 +1792,9 @@ ns_define_frame_cursor (struct frame *f, Cursor cursor)
       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);
     }
 }