From 4ee2999777a434940f9546316069bec305e92472 Mon Sep 17 00:00:00 2001 From: Mattias Cibien Date: Mon, 9 May 2016 15:46:05 +0200 Subject: [PATCH] Working even when re-entering window. --- platform/windows/os_windows.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp index 2284a51d58a..c9c7780a2a0 100644 --- a/platform/windows/os_windows.cpp +++ b/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) {