aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Third2017-09-05 23:40:46 +0100
committerAlan Third2017-09-05 23:42:20 +0100
commit732fdeb341e3b53568548254ef37c7413c4343bb (patch)
treebd93413db131f27ce4d6109441cd9ec2a780ae53
parent964d672a7fce9ae2091d765ae9eb62559607b858 (diff)
downloademacs-732fdeb341e3b53568548254ef37c7413c4343bb.tar.gz
emacs-732fdeb341e3b53568548254ef37c7413c4343bb.zip
Revert "Force screen update after drawing cursor glyph (bug#23774)"
This reverts commit 1b492fa5456e2b6face8d0856f11d17e432693b0. See bug#28358
-rw-r--r--src/nsterm.m11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/nsterm.m b/src/nsterm.m
index 6b0e18bf439..ff3329d1cee 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -3143,16 +3143,7 @@ ns_draw_window_cursor (struct window *w, struct glyph_row *glyph_row,
3143 3143
3144 /* draw the character under the cursor */ 3144 /* draw the character under the cursor */
3145 if (cursor_type != NO_CURSOR) 3145 if (cursor_type != NO_CURSOR)
3146 { 3146 draw_phys_cursor_glyph (w, glyph_row, DRAW_CURSOR);
3147 draw_phys_cursor_glyph (w, glyph_row, DRAW_CURSOR);
3148
3149#ifdef NS_IMPL_COCOA
3150 /* The glyph under the cursor isn't displayed when switching
3151 spaces, so force an update. This seems to be related to the
3152 use of NSDisableScreenUpdates. */
3153 [FRAME_NS_VIEW (f) setNeedsDisplay:YES];
3154#endif
3155 }
3156 3147
3157#ifdef NS_IMPL_COCOA 3148#ifdef NS_IMPL_COCOA
3158 NSEnableScreenUpdates (); 3149 NSEnableScreenUpdates ();