SysMouseAImpl_Unacquire should return DI_NOEFFECT if the device is not
in an acquired state.
This commit is contained in:
parent
55f2dac059
commit
897beee52d
|
@ -660,8 +660,8 @@ static HRESULT WINAPI SysMouseAImpl_Unacquire(LPDIRECTINPUTDEVICE8A iface)
|
|||
This->acquired = 0;
|
||||
}
|
||||
else
|
||||
ERR("Unacquiring a not-acquired device !!!\n");
|
||||
|
||||
return DI_NOEFFECT;
|
||||
|
||||
return DI_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue