Shot in the dark patch for MAINT-3353 backported from viewer-tiger
parent
71205580d9
commit
976ad95977
|
|
@ -122,6 +122,7 @@ void LLWindowCallbacks::handleResize(LLWindow *window, const S32 width, const S3
|
|||
|
||||
void LLWindowCallbacks::handleFocus(LLWindow *window)
|
||||
{
|
||||
LL_WARNS("COCOA") << "Called handleFocus proto" << LL_ENDL;
|
||||
}
|
||||
|
||||
void LLWindowCallbacks::handleFocusLost(LLWindow *window)
|
||||
|
|
|
|||
|
|
@ -331,7 +331,16 @@ void callMouseExit()
|
|||
|
||||
void callWindowFocus()
|
||||
{
|
||||
gWindowImplementation->getCallbacks()->handleFocus(gWindowImplementation);
|
||||
if ( gWindowImplementation && gWindowImplementation->getCallbacks() )
|
||||
{
|
||||
gWindowImplementation->getCallbacks()->handleFocus (gWindowImplementation);
|
||||
}
|
||||
else
|
||||
{
|
||||
LL_WARNS("COCOA") << "Window Implementation or callbacks not yet initialized." << LL_ENDL;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
void callWindowUnfocus()
|
||||
|
|
|
|||
Loading…
Reference in New Issue