mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 12:00:52 +00:00
2005-01-18 15:50 Alexander Malmberg <alexander@malmberg.org>
* Source/NSApplication.m (-runModalSession:): Don't order the window to the front or make it the key/main window. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20578 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
38b6a9b074
commit
d1daa284b4
2 changed files with 5 additions and 14 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-01-18 15:50 Alexander Malmberg <alexander@malmberg.org>
|
||||
|
||||
* Source/NSApplication.m (-runModalSession:): Don't order the window
|
||||
to the front or make it the key/main window.
|
||||
|
||||
2005-01-18 15:46 Alexander Malmberg <alexander@malmberg.org>
|
||||
|
||||
* Source/NSApplication.m (-finishLaunching): Don't attempt to open
|
||||
|
|
|
@ -1374,20 +1374,6 @@ See Also: -runModalForWindow:
|
|||
format: @"runModalSession: with wrong session"];
|
||||
}
|
||||
|
||||
IF_NO_GC(pool = [arpClass new]);
|
||||
|
||||
[theSession->window orderFrontRegardless];
|
||||
if ([theSession->window canBecomeKeyWindow] == YES)
|
||||
{
|
||||
[theSession->window makeKeyWindow];
|
||||
}
|
||||
else if ([theSession->window canBecomeMainWindow] == YES)
|
||||
{
|
||||
[theSession->window makeMainWindow];
|
||||
}
|
||||
|
||||
RELEASE (pool);
|
||||
|
||||
// Use the default context for all events.
|
||||
srv = GSCurrentServer();
|
||||
|
||||
|
|
Loading…
Reference in a new issue