Fix cursor not displaying arrow when transiting from mode captured to
visible.
This commit is contained in:
Guilherme Felipe 2018-05-21 14:37:30 -03:00
parent 9a5950ace5
commit 9af14ac1db

View File

@ -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;
}
}