From: Jan D Date: Wed, 18 Aug 2010 08:06:45 +0000 (+0200) Subject: * nsterm.m (ns_define_frame_cursor): Call x_update_cursor (Bug#6868). X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~48^2~255 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9cb728a58c53b9acb712d80988dc41ae37408ae1;p=emacs.git * nsterm.m (ns_define_frame_cursor): Call x_update_cursor (Bug#6868). --- diff --git a/src/ChangeLog b/src/ChangeLog index 060b8fb739f..576966dfba3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2010-08-18 Jan Djärv + + * nsterm.m (ns_define_frame_cursor): Call x_update_cursor (Bug#6868). + 2010-08-18 Jan Djärv * gtkutil.c (update_frame_tool_bar): Literal stings are const char*. diff --git a/src/nsterm.m b/src/nsterm.m index 88d47d41972..2eb84607562 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -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); } }