After initialization: Agressively try to grab window again

Since some users on Windows report window not being initially focussed
This commit is contained in:
def 2020-09-21 11:39:14 +02:00
parent 8b399ba1be
commit dcfa752e61

View file

@ -374,6 +374,10 @@ void CGameClient::OnInit()
m_GameWorld.m_pTuningList = m_aTuningList; m_GameWorld.m_pTuningList = m_aTuningList;
m_pMapimages->SetTextureScale(g_Config.m_ClTextEntitiesSize); m_pMapimages->SetTextureScale(g_Config.m_ClTextEntitiesSize);
// Agressively try to grab window again since some Windows users report
// window not being focussed after starting client.
Graphics()->SetWindowGrab(true);
} }
void CGameClient::OnUpdate() void CGameClient::OnUpdate()