浏览代码

Working even when re-entering window.

Mattias Cibien 9 年之前
父节点
当前提交
4ee2999777
共有 1 个文件被更改,包括 2 次插入0 次删除
  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) {