Commit 732fdeb3 authored by Alan Third's avatar Alan Third
Browse files

Revert "Force screen update after drawing cursor glyph (bug#23774)"

This reverts commit 1b492fa5.

See bug#28358
parent 964d672a
......@@ -3143,16 +3143,7 @@ Note that CURSOR_WIDTH is meaningful only for (h)bar cursors.
/* draw the character under the cursor */
if (cursor_type != NO_CURSOR)
{
draw_phys_cursor_glyph (w, glyph_row, DRAW_CURSOR);
#ifdef NS_IMPL_COCOA
/* The glyph under the cursor isn't displayed when switching
spaces, so force an update. This seems to be related to the
use of NSDisableScreenUpdates. */
[FRAME_NS_VIEW (f) setNeedsDisplay:YES];
#endif
}
draw_phys_cursor_glyph (w, glyph_row, DRAW_CURSOR);
#ifdef NS_IMPL_COCOA
NSEnableScreenUpdates ();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment