Don't restore the saved keyboard autorepeat config, since the config

save code itself was disabled a while ago...
This commit is contained in:
Ove Kaaven 2001-04-16 19:03:10 +00:00 committed by Alexandre Julliard
parent a9ea8574d4
commit b18220a8b2
1 changed files with 2 additions and 0 deletions

View File

@ -195,8 +195,10 @@ static HRESULT WINAPI SysKeyboardAImpl_Unacquire(LPDIRECTINPUTDEVICE2A iface)
TRACE("(this=%p)\n",This); TRACE("(this=%p)\n",This);
if (This->acquired == 1) { if (This->acquired == 1) {
#if 0
/* Restore the original configuration */ /* Restore the original configuration */
USER_Driver.pSetKeyboardConfig(&(This->initial_config), 0xFFFFFFFF); USER_Driver.pSetKeyboardConfig(&(This->initial_config), 0xFFFFFFFF);
#endif
This->acquired = 0; This->acquired = 0;
} else { } else {
ERR("Unacquiring a not-acquired device !!!\n"); ERR("Unacquiring a not-acquired device !!!\n");