{"push_id":1366022804,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"43904c9c5a0f5750a03a9bd8c96ccda182eb5a9a","before":"8e0476653dd134cee84f4e893f656b2f93c4e3b0","commits":[{"sha":"b843fe1c0a6b4dbaae9f364042c6a247249305ef","author":{"name":"Niels Ole Salscheider","email":"a0426d496200cbce9ec8b5d3f88f0adeaa41b4d5@salscheider-online.de"},"message":"SizeClassInfo can return 0 even without an error\n\nCatch the error case separately. Commit 19a9cd607d added length checking to\nSizeClassInfo but re-used the return value of 0 for an error. A device without\nclasses (as is initialized by xf86-input-libinput for tablets) can\nlegitimately return 0 and erroneously triggers an error.\nFix this by using a separate value for the error.\n\nReproducible by calling XListInputDevices() with a tablet attached.\n\nThis fixes a regression introduced in commit 19a9cd607d.\n\nSigned-off-by: Niels Ole Salscheider <niels_ole@salscheider-online.de>\nSigned-off-by: Peter Hutterer <peter.hutterer@who-t.net>\nReviewed-by: Emil Velikov <emil.l.velikov@gmail.com>","distinct":true,"url":"https://api.github.com/repos/mirror/libXi/commits/b843fe1c0a6b4dbaae9f364042c6a247249305ef"},{"sha":"43904c9c5a0f5750a03a9bd8c96ccda182eb5a9a","author":{"name":"Peter Hutterer","email":"88878a7a7e4fc168823245e69a6b14cd0ba83ac2@who-t.net"},"message":"XListInputDevices: don't touch ndevices in case of error\n\nWe used to always set *ndevices to the number of devices returned by the\nserver. This magically worked because we pretty much never returned an error\nexcept on faulty server or library implementations. With 19a9cd60 we now have\nmore chances of getting an error, so the polite thing is to just leave *ndevices\nalone when we error out.\n\nDocument it as such in the man page, just in case someone accidentally reads\nit.\n\nSigned-off-by: Peter Hutterer <peter.hutterer@who-t.net>\nCC: Niels Ole Salscheider <niels_ole@salscheider-online.de>\nReviewed-by: Emil Velikov <emil.l.velikov@gmail.com>","distinct":true,"url":"https://api.github.com/repos/mirror/libXi/commits/43904c9c5a0f5750a03a9bd8c96ccda182eb5a9a"}]}
{"actor":{"display_login":"MXEBot"}}