mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 22:17:39 +00:00
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:
parent
2ec56b240c
commit
da4e243597
2 changed files with 20 additions and 16 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue