Bring chat focus behaviour closer to Phoenix by default, and an option

This commit is contained in:
Siana Gearz
2013-05-26 14:34:19 +02:00
parent d4251e3f69
commit 89e7decc12
5 changed files with 23 additions and 2 deletions

View File

@@ -766,7 +766,10 @@ LLUUID LLIMMgr::addSession(
floater->open();
}
//mTabContainer->selectTabPanel(panel);
floater->setInputFocus(TRUE);
if(gSavedSettings.getBOOL("PhoenixIMAnnounceStealFocus"))
{
floater->setInputFocus(TRUE);
}
return floater->getSessionID();
}
@@ -816,7 +819,10 @@ LLUUID LLIMMgr::addSession(
floater->open();
}
//mTabContainer->selectTabPanel(panel);
floater->setInputFocus(TRUE);
if(gSavedSettings.getBOOL("PhoenixIMAnnounceStealFocus"))
{
floater->setInputFocus(TRUE);
}
return floater->getSessionID();
}