Another mouse fix try

This commit is contained in:
def 2016-05-01 15:34:36 +02:00
parent 981533e177
commit faa576e73d

View file

@ -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: