Minor tidyup

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5256 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 1999-11-22 16:46:37 +00:00
parent 579be687fb
commit b57562d412
3 changed files with 24 additions and 12 deletions

View file

@ -673,6 +673,10 @@ static NSMapTable* windowmaps = NULL;
- (void) orderWindow: (NSWindowOrderingMode)place relativeTo: (int)otherWin
{
if (_f.is_key == YES && place == NSWindowOut)
{
[self resignKeyWindow];
}
DPSorderwindow(GSCurrentContext(), place, otherWin, [self windowNumber]);
}