diff options
| author | Guilherme Felipe | 2018-05-21 14:37:30 -0300 |
|---|---|---|
| committer | Guilherme Felipe | 2018-05-21 14:37:30 -0300 |
| commit | 9af14ac1db93f713fec7f37148d71f594c0752ca (patch) | |
| tree | 79acfb00e91cb8a8d504052d4b204d9c75cc0e97 /platform | |
| parent | 9a5950ace52c4ebb575d452d6451259d6f2323e3 (diff) | |
| download | godot-9af14ac1db93f713fec7f37148d71f594c0752ca.tar.gz godot-9af14ac1db93f713fec7f37148d71f594c0752ca.tar.zst godot-9af14ac1db93f713fec7f37148d71f594c0752ca.zip | |
Diffstat (limited to 'platform')
| -rw-r--r-- | platform/windows/os_windows.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp index d6cdea7b8..652311cab 100644 --- a/platform/windows/os_windows.cpp +++ b/platform/windows/os_windows.cpp @@ -777,7 +777,9 @@ LRESULT OS_Windows::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) SetCursor(NULL); } else { if (hCursor != NULL) { - SetCursor(hCursor); + CursorShape c = cursor_shape; + cursor_shape = CURSOR_MAX; + set_cursor_shape(c); hCursor = NULL; } } |
