mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 12:14:11 +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) {
|
if (current_lock != NULL) {
|
||||||
FIXME("Not more than one keyboard can be acquired at the same time.\n");
|
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;
|
current_lock = This;
|
||||||
|
|
Loading…
Reference in a new issue