* src/nsterm.m (ns_update_end): Make sure the frame is updated after
drawing.
(ns_focus):
(ns_unfocus): Should be checking on NS_DRAW_TO_BUFFER rather than if
it's Cocoa or GNUstep.
#ifdef NS_DRAW_TO_BUFFER
[NSGraphicsContext setCurrentContext:nil];
+ [view setNeedsDisplay:YES];
#else
block_input ();
/* clipping */
if (r)
{
-#ifdef NS_IMPL_COCOA
- int i;
- for (i = 0 ; i < n ; i++)
- [view setNeedsDisplayInRect:r[i]];
-#endif
-
[[NSGraphicsContext currentContext] saveGraphicsState];
if (n == 2)
NSRectClipList (r, 2);
gsaved = NO;
}
-#ifdef NS_IMPL_GNUSTEP
+#ifdef NS_DRAW_TO_BUFFER
+ [FRAME_NS_VIEW (f) setNeedsDisplay:YES];
+#else
if (f != ns_updating_frame)
{
if (focus_view != NULL)