Browse Source

Working even when re-entering window.

Mattias Cibien 9 years ago
parent
commit
4ee2999777
1 changed files with 2 additions and 0 deletions
  1. 2 0
      platform/windows/os_windows.cpp

+ 2 - 0
platform/windows/os_windows.cpp

@@ -712,6 +712,8 @@ LRESULT OS_Windows::WndProc(HWND hWnd,UINT uMsg, WPARAM	wParam,	LPARAM	lParam) {
 					//Hide the cursor
 					if(hCursor == NULL)
 						hCursor = SetCursor(NULL);
+					else
+						SetCursor(NULL);
 				}
 				else {
 					if(hCursor != NULL) {