Improved mini window handling. Patch by Hubert Chathi

<hubert@uhoreg.ca>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26810 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fredkiefer 2008-08-15 06:45:17 +00:00
parent 2256be1496
commit 291b40c4ef
3 changed files with 22 additions and 4 deletions

View file

@ -1543,6 +1543,12 @@ many times.
- (void) makeKeyAndOrderFront: (id)sender
{
[self deminiaturize: self];
/*
* If a window is ordered in, make sure that the application isn't hidden,
* and is active.
*/
if ([self canBecomeKeyWindow])
[NSApp unhide: self];
[self orderFrontRegardless];
[self makeKeyWindow];
/*