diff options
author | Mattias Cibien <mattias@mattiascibien.net> | 2016-05-09 15:46:05 +0200 |
---|---|---|
committer | Mattias Cibien <mattias@mattiascibien.net> | 2016-05-09 15:46:05 +0200 |
commit | 4ee2999777a434940f9546316069bec305e92472 (patch) | |
tree | 66cf8b03d037bbbc0466f145deadf2aa69bc998f | |
parent | 0b64b97d41cd298b03d064316c19c63dbf7f355b (diff) |
Working even when re-entering window.
-rw-r--r-- | platform/windows/os_windows.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp index 2284a51d58..c9c7780a2a 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) { |