From 7afb76824ea727e83e01c16f7872b1e82f41d74e Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 5 Dec 2013 09:29:04 -0800 Subject: [PATCH] Added code missed in the resolve --- src/video/windows/SDL_windowsevents.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/video/windows/SDL_windowsevents.c b/src/video/windows/SDL_windowsevents.c index bbab2da2cb1a6..9e82dc93586b7 100644 --- a/src/video/windows/SDL_windowsevents.c +++ b/src/video/windows/SDL_windowsevents.c @@ -418,6 +418,8 @@ WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) if (SDL_GetKeyboardFocus() == data->window) { SDL_SetKeyboardFocus(NULL); } + + ClipCursor(NULL); } } returnCode = 0;