emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 732fdeb: Revert "Force screen update after drawing


From: Alan Third
Subject: [Emacs-diffs] master 732fdeb: Revert "Force screen update after drawing cursor glyph (bug#23774)"
Date: Tue, 5 Sep 2017 18:46:58 -0400 (EDT)

branch: master
commit 732fdeb341e3b53568548254ef37c7413c4343bb
Author: Alan Third <address@hidden>
Commit: Alan Third <address@hidden>

    Revert "Force screen update after drawing cursor glyph (bug#23774)"
    
    This reverts commit 1b492fa5456e2b6face8d0856f11d17e432693b0.
    
    See bug#28358
---
 src/nsterm.m | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/src/nsterm.m b/src/nsterm.m
index 6b0e18b..ff3329d 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,
 
   /* 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 ();



reply via email to

[Prev in Thread] Current Thread [Next in Thread]