diff options
author | Don Kjer <don@lindenlab.com> | 2011-03-09 03:31:48 +0000 |
---|---|---|
committer | Don Kjer <don@lindenlab.com> | 2011-03-09 03:31:48 +0000 |
commit | 58b393bb1eb2ef15597803741fded4942f3dc647 (patch) | |
tree | b6d572a496658c4d5c2051fb8e187b01a43c48fe /indra/newview | |
parent | 127c45dfbab4550ebd7074f131e3a7b844affea8 (diff) |
Fix to LLWindow listener keyUp event. Fix to headless client scanKeyboard, allowing input from eventhost
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llappviewer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index f7ec83bea9..d0e1a454fa 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -1119,11 +1119,11 @@ bool LLAppViewer::mainLoop() // Scan keyboard for movement keys. Command keys and typing // are handled by windows callbacks. Don't do this until we're // done initializing. JC - if (gViewerWindow->mWindow->getVisible() + if ((gHeadlessClient || gViewerWindow->mWindow->getVisible()) && gViewerWindow->getActive() && !gViewerWindow->mWindow->getMinimized() && LLStartUp::getStartupState() == STATE_STARTED - && !gViewerWindow->getShowProgress() + && (gHeadlessClient || !gViewerWindow->getShowProgress()) && !gFocusMgr.focusLocked()) { LLMemType mjk(LLMemType::MTYPE_JOY_KEY); |