Always start the window auto-display performer when ordering a window in.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18203 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Alexander Malmberg 2003-11-25 16:27:15 +00:00
parent 2ec56b240c
commit da4e243597
2 changed files with 20 additions and 16 deletions

View file

@ -1,3 +1,9 @@
2003-11-25 17:16 Alexander Malmberg <alexander@malmberg.org>
* Source/NSWindow.m (-orderWindow:relativeTo:): Start the window
auto-display performer when a window is ordered in regardless of
whether it needs display right now or not.
2003-11-23 Adam Fedor <fedor@gnu.org>
* Version 0.9.1

View file

@ -1433,22 +1433,20 @@ many times.
if (place != NSWindowOut)
{
if (_rFlags.needs_display == YES)
{
/*
* Once we are ordered back in, we will want to update the window
* whenever there is anything to do.
*/
[[NSRunLoop currentRunLoop]
performSelector: @selector(_handleWindowNeedsDisplay:)
target: self
argument: nil
order: 600000
modes: [NSArray arrayWithObjects:
NSDefaultRunLoopMode,
NSModalPanelRunLoopMode,
NSEventTrackingRunLoopMode, nil]];
}
/*
* Once we are ordered back in, we will want to update the window
* whenever there is anything to do.
*/
[[NSRunLoop currentRunLoop]
performSelector: @selector(_handleWindowNeedsDisplay:)
target: self
argument: nil
order: 600000
modes: [NSArray arrayWithObjects:
NSDefaultRunLoopMode,
NSModalPanelRunLoopMode,
NSEventTrackingRunLoopMode, nil]];
if (_f.has_closed == YES)
{
_f.has_closed = NO; /* A closed window has re-opened */