mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
dinput: Unacquire correct device.
This commit is contained in:
parent
13ce1a4543
commit
83bda8e6d4
1 changed files with 1 additions and 1 deletions
|
@ -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