mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Another mouse fix try
This commit is contained in:
parent
981533e177
commit
faa576e73d
|
@ -238,6 +238,7 @@ int CInput::Update()
|
|||
case SDL_WINDOWEVENT_FOCUS_LOST:
|
||||
m_MouseFocus = false;
|
||||
IgnoreKeys = true;
|
||||
SDL_SetRelativeMouseMode(SDL_FALSE);
|
||||
break;
|
||||
#if defined(CONF_PLATFORM_MACOSX) // Todo: remove this when fixed in SDL
|
||||
case SDL_WINDOWEVENT_MAXIMIZED:
|
||||
|
|
Loading…
Reference in a new issue