diff options
| author | Mattias Cibien | 2016-05-09 15:46:05 +0200 |
|---|---|---|
| committer | Mattias Cibien | 2016-05-09 15:46:05 +0200 |
| commit | 4ee2999777a434940f9546316069bec305e92472 (patch) | |
| tree | 66cf8b03d037bbbc0466f145deadf2aa69bc998f | |
| parent | 0b64b97d41cd298b03d064316c19c63dbf7f355b (diff) | |
| download | godot-4ee2999777a434940f9546316069bec305e92472.tar.gz godot-4ee2999777a434940f9546316069bec305e92472.tar.zst godot-4ee2999777a434940f9546316069bec305e92472.zip | |
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 2284a51d5..c9c7780a2 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) { |
