Re: [PATCH v2 libXi 2/2] XListInputDevices: don't touch ndevices in case of error

2016-10-16 Thread Nicolas Boichat
+sadrul On Mon, Oct 17, 2016 at 1:43 PM, Peter Hutterer wrote: > On Fri, Oct 14, 2016 at 02:28:55PM +0100, Emil Velikov wrote: >> On 13 October 2016 at 04:58, Peter Hutterer wrote: >> > We used to always set *ndevices to the number of devices returned by the >> > server. This magically worked be

Re: [PATCH v2 libXi 2/2] XListInputDevices: don't touch ndevices in case of error

2016-10-16 Thread Peter Hutterer
On Fri, Oct 14, 2016 at 02:28:55PM +0100, Emil Velikov wrote: > On 13 October 2016 at 04:58, Peter Hutterer wrote: > > 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 serv

Re: [PATCH v2 libXi 2/2] XListInputDevices: don't touch ndevices in case of error

2016-10-14 Thread Emil Velikov
On 13 October 2016 at 04:58, Peter Hutterer wrote: > 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 chance