If HAL is restarted, the device list is sent to the server again, leading
first to duplicate devices (and thus duplicate events), and later to a
FatalError "Too many input devices."
dev->config_info contains the UDI for the device. If the UDI of a new devices
is equal to one we already have in the device list, just ignore it.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
config-backends.h | ||
config.c | ||
dbus-api | ||
dbus-core.c | ||
dbus.c | ||
hal.c | ||
Makefile.am | ||
x11-input.fdi | ||
xorg-server.conf |