Fix PR #5849 window deminiaturize.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17945 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 2003-10-21 03:10:24 +00:00
parent ca946b0b44
commit 7e533e577c
4 changed files with 21 additions and 1 deletions

View file

@ -2225,12 +2225,16 @@ resetCursorRectsForView(NSView *theView)
if (!_f.is_miniaturized)
return;
#if 0
/* At least with X-Windows, the counterpart is tied to us, so it will
automatically be ordered out when we are deminiaturized */
if (_counterpart != 0)
{
NSWindow *mini = GSWindowWithNumber(_counterpart);
[mini orderOut: self];
}
#endif
_f.is_miniaturized = NO;
[self makeKeyAndOrderFront: self];
[self _didDeminiaturize: sender];