summaryrefslogtreecommitdiff
path: root/indra/newview/llappviewerlinux.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llappviewerlinux.cpp')
-rw-r--r--indra/newview/llappviewerlinux.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llappviewerlinux.cpp b/indra/newview/llappviewerlinux.cpp
index e7017655c2..71f266019d 100644
--- a/indra/newview/llappviewerlinux.cpp
+++ b/indra/newview/llappviewerlinux.cpp
@@ -37,6 +37,7 @@
#include "llmd5.h"
#include "llfindlocale.h"
#include "llversioninfo.h"
+#include "llfocusmgr.h"
#include <exception>
@@ -262,7 +263,7 @@ SDL_AppResult SDL_AppIterate(void *appstate)
SDL_AppResult SDL_AppEvent(void *appstate, SDL_Event *event)
{
- return LLWindowSDL::handleEvents(*event);
+ return LLWindowSDL::handleEvents(*event, gFocusMgr.getAppHasFocus());
}
void SDL_AppQuit(void *appstate, SDL_AppResult result)