mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-09 17:48:19 +00:00
Merge #2914
2914: After initialization: Agressively try to grab window again r=heinrich5991 a=def- Since some users on Windows report window not being initially focussed. Reincarnation of https://github.com/ddnet/ddnet/pull/2897 but not for OSX I think this doesn't hurt. Co-authored-by: def <dennis@felsin9.de>
This commit is contained in:
commit
87e86834c3
|
@ -374,6 +374,10 @@ void CGameClient::OnInit()
|
|||
m_GameWorld.m_pTuningList = m_aTuningList;
|
||||
|
||||
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()
|
||||
|
|
Loading…
Reference in a new issue