diff options
-rw-r--r-- | frontends/amiga/gui.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/frontends/amiga/gui.c b/frontends/amiga/gui.c index e355d9f68..a530d62c2 100644 --- a/frontends/amiga/gui.c +++ b/frontends/amiga/gui.c @@ -1094,7 +1094,12 @@ static void gui_init2(int argc, char** argv) ami_arexx_self(sendcmd); FreeVec(sendcmd); - ami_arexx_self("TOFRONT"); + if((nsoption_bool(tab_new_session) == true) && (nsoption_bool(new_tab_is_active) == true)) { + /* If we're opening a new tab and that tab will be active, bring the screen to the front. + *\todo consider if we should be bringing the window to the front too. + * If we're opening a new window, Intuition brings the screen to the front anyway. */ + ami_arexx_self("TOFRONT"); + } ami_quit=true; return; |