Last active
September 5, 2017 15:10
-
-
Save aaronjensen/af2c85e935c26d21b9dbfaa0612786f4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 1f3cc768922a81453b18c4e88fb0156079233cbe Mon Sep 17 00:00:00 2001 | |
From: Aaron Jensen <[email protected]> | |
Date: Tue, 5 Sep 2017 08:04:41 -0700 | |
Subject: Revert perf regression | |
--- | |
src/nsterm.m | 11 +---------- | |
1 file changed, 1 insertion(+), 10 deletions(-) | |
diff --git a/src/nsterm.m b/src/nsterm.m | |
index 6b0e18bf43..ff3329d1ce 100644 | |
--- a/src/nsterm.m | |
+++ b/src/nsterm.m | |
@@ -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 (); | |
-- | |
2.13.2 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment