2
0
Эх сурвалжийг харах

Working even when re-entering window.

Mattias Cibien 9 жил өмнө
parent
commit
4ee2999777

+ 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
 					//Hide the cursor
 					if(hCursor == NULL)
 					if(hCursor == NULL)
 						hCursor = SetCursor(NULL);
 						hCursor = SetCursor(NULL);
+					else
+						SetCursor(NULL);
 				}
 				}
 				else {
 				else {
 					if(hCursor != NULL) {
 					if(hCursor != NULL) {