ignore extra FocusChanged calls

This commit is contained in:
Glenn Maynard
2004-09-21 09:11:05 +00:00
parent 4d00fe9707
commit 6aaa517c62
+3
View File
@@ -1452,6 +1452,9 @@ static void HandleInputEvents(float fDeltaTime)
void FocusChanged( bool bHasFocus )
{
if( g_bHasFocus == bHasFocus )
return;
g_bHasFocus = bHasFocus;
LOG->Trace( "App %s focus", g_bHasFocus? "has":"doesn't have" );