mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
Working even when re-entering window.
This commit is contained in:
parent
0b64b97d41
commit
4ee2999777
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user