- added Khamsin's fix for visible mouse cursors in Linux fullscreen mode with mouse disabled.

SVN r2785 (trunk)
This commit is contained in:
Christoph Oelckers 2010-09-15 16:50:08 +00:00
parent dca03ac76a
commit d8fd72e19a

View file

@ -256,7 +256,7 @@ static void I_CheckNativeMouse ()
== (SDL_APPINPUTFOCUS|SDL_APPACTIVE);
bool fs = (SDL_GetVideoSurface ()->flags & SDL_FULLSCREEN) != 0;
bool wantNative = !focus || !use_mouse || (!fs && (GUICapture || paused || demoplayback || !inGame()));
bool wantNative = !focus || (!fs && (!use_mouse || GUICapture || paused || demoplayback || !inGame()));
if (wantNative != NativeMouse)
{