mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 21:11:39 +00:00
- Fixed: The mouse pointer stayed hidden on startup because the CursorState variable was not
set until the mouse was grabbed. SVN r2662 (trunk)
This commit is contained in:
parent
c25f206fbb
commit
7bf0cd13a6
1 changed files with 3 additions and 0 deletions
|
@ -485,6 +485,7 @@ static FMouse *CreateRawMouse()
|
|||
FRawMouse::FRawMouse()
|
||||
{
|
||||
Grabbed = false;
|
||||
SetCursorState(true);
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
|
@ -678,6 +679,7 @@ FDInputMouse::FDInputMouse()
|
|||
{
|
||||
Device = NULL;
|
||||
Grabbed = false;
|
||||
SetCursorState(true);
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
|
@ -903,6 +905,7 @@ FWin32Mouse::FWin32Mouse()
|
|||
{
|
||||
GetCursorPos(&UngrabbedPointerPos);
|
||||
Grabbed = false;
|
||||
SetCursorState(true);
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
|
|
Loading…
Reference in a new issue