chiark / gitweb /
input_id: Fix endless loop for non-input devices
authorMartin Pitt <martin.pitt@ubuntu.com>
Thu, 3 Dec 2009 09:16:49 +0000 (10:16 +0100)
committerMartin Pitt <martin.pitt@ubuntu.com>
Thu, 3 Dec 2009 09:16:49 +0000 (10:16 +0100)
commit22f9cb51c39a6fef1109bfd24e97d2fdda327a9e
tree98ecba653a63ac6daa844b2f31f608d602b256ff
parent2ad6af0fc0c3e44da40274ecda1e707494b922e3
input_id: Fix endless loop for non-input devices

When being called on a device which is not in the "input" subsystem, or doesn't
have an "input" parent, it got stuck in an endless loop. Unfortunately this
includes the virtual/input/mice multiplexer, which exposes this bug on just
about every system.
extras/input_id/input_id.c