improve cursor lock
This commit is contained in:
parent
2c2a83d93c
commit
a399797982
4 changed files with 9 additions and 1 deletions
|
@ -64,6 +64,8 @@ void mouse_lock()
|
|||
}
|
||||
else
|
||||
{
|
||||
real_SetCursor(g_ddraw->old_cursor);
|
||||
|
||||
if (g_ddraw->hidecursor)
|
||||
{
|
||||
g_ddraw->hidecursor = FALSE;
|
||||
|
@ -125,6 +127,8 @@ void mouse_unlock()
|
|||
}
|
||||
}
|
||||
|
||||
real_SetCursor(LoadCursor(NULL, IDC_ARROW));
|
||||
|
||||
real_ClipCursor(NULL);
|
||||
|
||||
real_SetCursorPos(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue