mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
After initialization: Agressively try to grab window again
Since some users on Windows report window not being initially focussed
This commit is contained in:
parent
8b399ba1be
commit
dcfa752e61
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue