(-update): Don't redisplay the window.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16056 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Alexander Malmberg 2003-02-23 12:32:27 +00:00
parent 054a27b9ba
commit 5078562c49
2 changed files with 8 additions and 8 deletions

View file

@ -1,3 +1,7 @@
2003-02-23 13:30 Alexander Malmberg <alexander@malmberg.org>
* Source/NSWindow (-update): Don't redisplay the window.
2003-02-22 Benhur Stein <benhur@inf.ufsm.br>
* Source/NSView.m (-displayIfNeededInRectIgnoringOpacity:): Disable

View file

@ -96,7 +96,10 @@ BOOL GSViewAcceptsDrag(NSView *v, id<NSDraggingInfo> 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];
}