mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 20:07:38 +00:00
Corrected cancling of _handleWindowNeedsDisplay.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18477 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5ce50e1384
commit
2ea0c80f9f
2 changed files with 15 additions and 14 deletions
|
@ -1,3 +1,11 @@
|
|||
2004-01-25 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSWindow.m (-orderWindow:relativeTo:): In OrderOut case
|
||||
cancle _handleWindowNeedsDisplay unconditional. (-close): Don't
|
||||
cancle _handleWindowNeedsDisplay as this gets done by the
|
||||
following [orderOut:] call. These changes adopt to a previous
|
||||
change in [_handeWindowNeedsDisplay:] to always resend itself.
|
||||
|
||||
2004-01-25 04:15 Alexander Malmberg <alexander@malmberg.org>
|
||||
|
||||
* Source/NSLayoutManager.m (-invalidateDisplayForCharacterRange:,
|
||||
|
|
|
@ -1428,16 +1428,13 @@ many times.
|
|||
if (place == NSWindowOut)
|
||||
{
|
||||
_f.visible = NO;
|
||||
if (_rFlags.needs_display == YES)
|
||||
{
|
||||
/*
|
||||
* Don't keep trying to update the window while it is ordered out
|
||||
*/
|
||||
[[NSRunLoop currentRunLoop]
|
||||
cancelPerformSelector: @selector(_handleWindowNeedsDisplay:)
|
||||
target: self
|
||||
argument: nil];
|
||||
}
|
||||
/*
|
||||
* Don't keep trying to update the window while it is ordered out
|
||||
*/
|
||||
[[NSRunLoop currentRunLoop]
|
||||
cancelPerformSelector: @selector(_handleWindowNeedsDisplay:)
|
||||
target: self
|
||||
argument: nil];
|
||||
[self _lossOfKeyOrMainWindow];
|
||||
}
|
||||
else
|
||||
|
@ -2240,10 +2237,6 @@ resetCursorRectsForView(NSView *theView)
|
|||
|
||||
[nc postNotificationName: NSWindowWillCloseNotification object: self];
|
||||
_f.has_opened = NO;
|
||||
[[NSRunLoop currentRunLoop]
|
||||
cancelPerformSelector: @selector(_handleWindowNeedsDisplay:)
|
||||
target: self
|
||||
argument: nil];
|
||||
[NSApp removeWindowsItem: self];
|
||||
[self orderOut: self];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue