diff options
author | Gilbert Gonzales <gilbert@lindenlab.com> | 2013-08-06 10:27:18 -0700 |
---|---|---|
committer | Gilbert Gonzales <gilbert@lindenlab.com> | 2013-08-06 10:27:18 -0700 |
commit | c7342bc6c0950add28918159935b8001c4ad2dc8 (patch) | |
tree | e32e3515c753302e403071cad15f5a7f90eaccd0 | |
parent | d9d1d2722737069618e15eac2f33ac4600c357ba (diff) |
ACME-744: Adjusted comment to be more clear
-rw-r--r-- | indra/newview/llfacebookconnect.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llfacebookconnect.cpp b/indra/newview/llfacebookconnect.cpp index 645f62579d..ad776b2d1a 100644 --- a/indra/newview/llfacebookconnect.cpp +++ b/indra/newview/llfacebookconnect.cpp @@ -334,7 +334,10 @@ void LLFacebookConnect::openFacebookWeb(std::string url) p.url(url).allow_back_forward_navigation(false); p.url(url).trusted_content(true); LLFloater *floater = LLFloaterReg::showInstance("fbc_web", p); - //TODO Gil: Hack to give the focus to the web browser to show cursor, will fix + //the internal web browser has a bug that prevents it from gaining focus unless a mouse event occurs first (it seems). + //So when showing the internal web browser, set focus to it's containing floater "fbc_web". When a mouse event + //occurs on the "webbrowser" panel part of the floater, a mouse cursor will properly show and the "webbrowser" will gain focus. + //fbc_web floater contains the "webbrowser" panel. JIRA: ACME-744 gFocusMgr.setKeyboardFocus( floater ); //LLUrlAction::openURLExternal(url); |