mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
Minor fix for app activation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6203 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b7c1242cfc
commit
63c094b978
2 changed files with 14 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Mar 07 06:24:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
|
||||
* Source/NSApplication.m: ([activateignoringOtherApps]) order key
|
||||
window to front when activating app.
|
||||
|
||||
Tue Mar 7 03:23:55 2000 Nicola Pero <n.pero@mi.flashnet.it>
|
||||
|
||||
Warning: the gmodel format was changed by this fix - and it is
|
||||
|
|
|
@ -766,6 +766,15 @@ static NSCell* tileCell = nil;
|
|||
[self unhide: nil];
|
||||
}
|
||||
|
||||
if ([[self keyWindow] != nil)
|
||||
{
|
||||
[[self keyWindow] orderFront: self];
|
||||
}
|
||||
else if ([[self mainWindow] != nil)
|
||||
{
|
||||
[[self mainWindow] orderFront: self];
|
||||
}
|
||||
|
||||
NSDebugLog(@"activateIgnoringOtherApps end.");
|
||||
|
||||
[nc postNotificationName: NSApplicationDidBecomeActiveNotification
|
||||
|
|
Loading…
Reference in a new issue