Fix for miniwindows not being drawn properly

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16147 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2003-03-07 09:04:54 +00:00
parent f99195e38a
commit 71aa65b056
3 changed files with 16 additions and 3 deletions

View file

@ -2262,6 +2262,17 @@ resetCursorRectsForView(NSView *theView)
[srv miniwindow: _windowNum];
_f.visible = NO;
/*
* We must order the miniwindow in so that we will start sending
* it -_handleWindowNeedsDisplay: messages to tell it to display
* itsself when neccessary.
*/
if (_counterpart != 0)
{
NSWindow *mini = GSWindowWithNumber(_counterpart);
[mini orderFront: self];
}
[nc postNotificationName: NSWindowDidMiniaturizeNotification
object: self];
}