Fullscreen mouse pointer workaround now only applied when the PCem window is in focus.

This commit is contained in:
TomW 2015-09-01 21:15:04 +01:00
commit 096f498be3

View file

@ -191,7 +191,7 @@ void mainthread(LPVOID param)
leave_fullscreen_flag = 0; leave_fullscreen_flag = 0;
SendMessage(ghwnd, WM_LEAVEFULLSCREEN, 0, 0); SendMessage(ghwnd, WM_LEAVEFULLSCREEN, 0, 0);
} }
if (video_fullscreen) if (video_fullscreen && infocus)
{ {
SetCursorPos(9999, 9999); SetCursorPos(9999, 9999);
} }