ignore extra FocusChanged calls
This commit is contained in:
@@ -1452,6 +1452,9 @@ static void HandleInputEvents(float fDeltaTime)
|
|||||||
|
|
||||||
void FocusChanged( bool bHasFocus )
|
void FocusChanged( bool bHasFocus )
|
||||||
{
|
{
|
||||||
|
if( g_bHasFocus == bHasFocus )
|
||||||
|
return;
|
||||||
|
|
||||||
g_bHasFocus = bHasFocus;
|
g_bHasFocus = bHasFocus;
|
||||||
|
|
||||||
LOG->Trace( "App %s focus", g_bHasFocus? "has":"doesn't have" );
|
LOG->Trace( "App %s focus", g_bHasFocus? "has":"doesn't have" );
|
||||||
|
|||||||
Reference in New Issue
Block a user