comparison 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
comparison
equal deleted inserted replaced
109834:aa2bde544453 109835:58e44f7a82d5
1790 if (FRAME_POINTER_TYPE (f) != cursor) 1790 if (FRAME_POINTER_TYPE (f) != cursor)
1791 { 1791 {
1792 EmacsView *view = FRAME_NS_VIEW (f); 1792 EmacsView *view = FRAME_NS_VIEW (f);
1793 FRAME_POINTER_TYPE (f) = cursor; 1793 FRAME_POINTER_TYPE (f) = cursor;
1794 [[view window] invalidateCursorRectsForView: view]; 1794 [[view window] invalidateCursorRectsForView: view];
1795 /* Redisplay assumes this function also draws the changed frame
1796 cursor, but this function doesn't, so do it explicitly. */
1797 x_update_cursor (f, 1);
1795 } 1798 }
1796 } 1799 }
1797 1800
1798 1801
1799 1802