mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 14:43:38 +00:00
dinput: Unacquire correct device.
This commit is contained in:
parent
13ce1a4543
commit
83bda8e6d4
|
@ -518,7 +518,7 @@ static HRESULT WINAPI SysKeyboardAImpl_Acquire(LPDIRECTINPUTDEVICE8A iface)
|
|||
|
||||
if (current_lock != NULL) {
|
||||
FIXME("Not more than one keyboard can be acquired at the same time.\n");
|
||||
SysKeyboardAImpl_Unacquire(iface);
|
||||
SysKeyboardAImpl_Unacquire((LPDIRECTINPUTDEVICE8A)current_lock);
|
||||
}
|
||||
|
||||
current_lock = This;
|
||||
|
|
Loading…
Reference in a new issue