changeset 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 aa2bde544453
children 9212e8bdf79b
files src/ChangeLog src/nsterm.m
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Wed Aug 18 07:46:27 2010 +0000
+++ b/src/ChangeLog	Wed Aug 18 10:06:45 2010 +0200
@@ -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*.
--- 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);
     }
 }