diff options
| author | Jan D <jan.h.d@swipnet.se> | 2010-08-18 10:06:45 +0200 |
|---|---|---|
| committer | Jan D <jan.h.d@swipnet.se> | 2010-08-18 10:06:45 +0200 |
| commit | 9cb728a58c53b9acb712d80988dc41ae37408ae1 (patch) | |
| tree | 1bdddce77003359f22aa8f39ce0908e8eaaa1c68 | |
| parent | 1075cd6169a81e8865714b26f7691cb9e1bc28db (diff) | |
| download | emacs-9cb728a58c53b9acb712d80988dc41ae37408ae1.tar.gz | |
* nsterm.m (ns_define_frame_cursor): Call x_update_cursor (Bug#6868).
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/nsterm.m | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 060b8fb739f..576966dfba3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,9 @@ 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*. 2010-08-18 David De La Harpe Golden <david@harpegolden.net> 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); } } |
