Re: [PATCH v3] client: extend error handling

2014-05-07 Thread Pekka Paalanen
On Wed, 7 May 2014 16:21:24 +0200 Marek Chalupa wrote: > When an error occurs, wl_display_get_error() does not > provide any way of getting know if it was a local error or if it was > an error event, respectively what object caused the error and what > the error was. > > This patch introduces a

Re: [PATCH v3] client: extend error handling

2014-05-07 Thread Marek Chalupa
On 5 May 2014 15:02, Pekka Paalanen wrote: > On Wed, 30 Apr 2014 10:11:01 +0200 > Marek Chalupa wrote: > > > When an error occurs, wl_display_get_error() does not > > provide any way of getting know if it was a local error or if it was > > an error event, respectively what object caused the erro

[PATCH v3] client: extend error handling

2014-05-07 Thread Marek Chalupa
When an error occurs, wl_display_get_error() does not provide any way of getting know if it was a local error or if it was an error event, respectively what object caused the error and what the error was. This patch introduces a new function wl_display_get_protocol_error() which will return error

Re: [PATCH v3] client: extend error handling

2014-05-05 Thread Pekka Paalanen
On Wed, 30 Apr 2014 10:11:01 +0200 Marek Chalupa wrote: > When an error occurs, wl_display_get_error() does not > provide any way of getting know if it was a local error or if it was > an error event, respectively what object caused the error and what > the error was. > > This patch introduces a

[PATCH v3] client: extend error handling

2014-04-30 Thread Marek Chalupa
When an error occurs, wl_display_get_error() does not provide any way of getting know if it was a local error or if it was an error event, respectively what object caused the error and what the error was. This patch introduces a new function wl_display_get_protocol_error() which will return error