summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-08-17 15:20:48 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-08-19 10:47:25 +1000
commit635c2c029b1e73311c3f650bcaf7eeb9e782134b (patch)
tree1cbb61873455047624d140ea6e8a50803a88c15c /man
parentca73cd3b7630e7eb7d26c61c4af10d35dbce5465 (diff)
Handle unknown device classes.
If the server sends an unknown device class in response to an XIQueryDevice call, no memory is allocated for these classes but we still write type and sourceid as well as setting to->classes[i]. The latter causes multiple classes to point to the same memory field. Move the common code of assigning these three into the respective class type handlers so to automatically skip any unknown classes. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions