# HG changeset patch # User David Reitter # Date 1219524019 0 # Node ID 82049cd6b1d9c2cdb9a4a182be868605448b4d08 # Parent e253867adde2b6eaad6d0fe7ee1505c73614a555 (ns_draw_window_cursor): .*ScreenUpdates() calls only if NS_IMPL_COCOA (API not present in GNUStep). diff -r e253867adde2 -r 82049cd6b1d9 src/nsterm.m --- a/src/nsterm.m Sat Aug 23 20:01:16 2008 +0000 +++ b/src/nsterm.m Sat Aug 23 20:40:19 2008 +0000 @@ -2414,7 +2414,9 @@ drawGlyph = 1; // just draw the Glyph [FRAME_BACKGROUND_COLOR (f) set]; +#ifdef NS_IMPL_COCOA NSDisableScreenUpdates (); +#endif } else { @@ -2429,7 +2431,9 @@ cursorType = HOLLOW_BOX_CURSOR; } +#ifdef NS_IMPL_COCOA NSDisableScreenUpdates (); +#endif switch (cursorType) { @@ -2466,7 +2470,9 @@ if (drawGlyph) draw_phys_cursor_glyph (w, glyph_row, hl); +#ifdef NS_IMPL_COCOA NSEnableScreenUpdates (); +#endif }