diff --git a/ChangeLog b/ChangeLog index 5cf7221b8..b35cd58cd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-02-23 13:30 Alexander Malmberg + + * Source/NSWindow (-update): Don't redisplay the window. + 2003-02-22 Benhur Stein * Source/NSView.m (-displayIfNeededInRectIgnoringOpacity:): Disable diff --git a/Source/NSWindow.m b/Source/NSWindow.m index 91a2bee9c..41c8966f7 100644 --- a/Source/NSWindow.m +++ b/Source/NSWindow.m @@ -96,7 +96,10 @@ BOOL GSViewAcceptsDrag(NSView *v, id dragInfo); @implementation NSWindow (GNUstepPrivate) - (void) _handleWindowNeedsDisplay: (id)bogus { - [self displayIfNeeded]; + if (_f.is_autodisplay && _rFlags.needs_display) + { + [self displayIfNeeded]; + } } /* We get here if we were ordered out or miniaturized. In this case if @@ -1821,13 +1824,6 @@ static NSNotificationCenter *nc = nil; - (void) update { - /* - * if autodisplay is enabled and window display - */ - if (_f.is_autodisplay && _rFlags.needs_display) - { - [self displayIfNeeded]; - } [nc postNotificationName: NSWindowDidUpdateNotification object: self]; }