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
|
//Hide the cursor
|
||||||
if(hCursor == NULL)
|
if(hCursor == NULL)
|
||||||
hCursor = SetCursor(NULL);
|
hCursor = SetCursor(NULL);
|
||||||
|
else
|
||||||
|
SetCursor(NULL);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if(hCursor != NULL) {
|
if(hCursor != NULL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user