Re: [PATCH v3] client: check for error in wl_display_read_events

2014-08-22 Thread Pekka Paalanen
On Fri, 22 Aug 2014 14:28:59 +0200 Marek Chalupa wrote: > This prevents from blocking shown in one display test. Also, it > makes sense to not proceed further in the code of the function > when an error ocurred. > > v2. set errno > put note about the errno into wl_display_prepare_read doc >

[PATCH v3] client: check for error in wl_display_read_events

2014-08-22 Thread Marek Chalupa
This prevents from blocking shown in one display test. Also, it makes sense to not proceed further in the code of the function when an error ocurred. v2. set errno put note about the errno into wl_display_prepare_read doc check for error with mutex locked v3. set errno to display->las