xf86-input-neko: do not turn off device on uninit.

This commit is contained in:
Miroslav Šedivý 2023-09-07 14:27:24 +02:00
parent 5ceef394ca
commit d82b640ecc

View File

@ -441,8 +441,8 @@ UnInit(__attribute__ ((unused)) InputDriverPtr drv,
priv->thread = 0;
}
/* free valuators */
valuator_mask_free(&priv->valuators);
DeviceControl(pInfo->dev, DEVICE_OFF);
free(pInfo->private);
pInfo->private = NULL;