aboutsummaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorMax Hilbrunner2018-05-21 18:26:42 +0200
committerGitHub2018-05-21 18:26:42 +0200
commit3ac7f08b5585943b2f6e9e4868e366eb44cec368 (patch)
tree92556a753bb60de765e852a06466e9e83421b1e9 /platform
parentbd39e0d864893c08471a1dcb6abae3c5df698139 (diff)
parent9af14ac1db93f713fec7f37148d71f594c0752ca (diff)
downloadgodot-3ac7f08b5585943b2f6e9e4868e366eb44cec368.tar.gz
godot-3ac7f08b5585943b2f6e9e4868e366eb44cec368.tar.zst
godot-3ac7f08b5585943b2f6e9e4868e366eb44cec368.zip
Diffstat (limited to 'platform')
-rw-r--r--platform/windows/os_windows.cpp4
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;
}
}