diff --git a/src/win.c b/src/win.c index 26a9b66..dc06e01 100644 --- a/src/win.c +++ b/src/win.c @@ -191,7 +191,7 @@ void mainthread(LPVOID param) leave_fullscreen_flag = 0; SendMessage(ghwnd, WM_LEAVEFULLSCREEN, 0, 0); } - if (video_fullscreen) + if (video_fullscreen && infocus) { SetCursorPos(9999, 9999); }