mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-24 18:31:20 +00:00
(-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:
parent
054a27b9ba
commit
5078562c49
2 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue