summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2016-10-13 13:33:11 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2016-10-13 13:50:06 +1000
commit43904c9c5a0f5750a03a9bd8c96ccda182eb5a9a (patch)
treed44f3efacbf7319a26fc38486e0c02af66033ca4 /autogen.sh
parentb843fe1c0a6b4dbaae9f364042c6a247249305ef (diff)
XListInputDevices: don't touch ndevices in case of error
We used to always set *ndevices to the number of devices returned by the server. This magically worked because we pretty much never returned an error except on faulty server or library implementations. With 19a9cd60 we now have more chances of getting an error, so the polite thing is to just leave *ndevices alone when we error out. Document it as such in the man page, just in case someone accidentally reads it. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> CC: Niels Ole Salscheider <niels_ole@salscheider-online.de> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions