Browse Source

Added code missed in the resolve

Sam Lantinga 11 years ago
parent
commit
7afb76824e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/video/windows/SDL_windowsevents.c

+ 2 - 0
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) {
                 if (SDL_GetKeyboardFocus() == data->window) {
                     SDL_SetKeyboardFocus(NULL);
                     SDL_SetKeyboardFocus(NULL);
                 }
                 }
+
+                ClipCursor(NULL);
             }
             }
         }
         }
         returnCode = 0;
         returnCode = 0;