Re: [PATCH wayland] server: give more precise error message

2015-03-19 Thread Bill Spitzak
On 03/19/2015 12:42 AM, Marek Chalupa wrote: message = &object->interface->methods[opcode]; + since = wl_message_get_since(message); if (!(resource_flags & WL_MAP_ENTRY_LEGACY) && - resource->version > 0 && - res

Re: [PATCH wayland] server: give more precise error message

2015-03-19 Thread Pekka Paalanen
On Thu, 19 Mar 2015 10:54:05 + Daniel Stone wrote: > Hi Marek, > > On Thursday, March 19, 2015, Marek Chalupa wrote: > > > There are two same error messages with different cause. > > Let user know what is the cause of the error. > > > > For this, the double-client-roundtrip patch, and the

Re: [PATCH wayland] server: give more precise error message

2015-03-19 Thread Daniel Stone
Hi Marek, On Thursday, March 19, 2015, Marek Chalupa wrote: > There are two same error messages with different cause. > Let user know what is the cause of the error. > For this, the double-client-roundtrip patch, and the test-device-hotplug patches: Reviewed-by: Daniel Stone Cheers, Daniel __

[PATCH wayland] server: give more precise error message

2015-03-19 Thread Marek Chalupa
There are two same error messages with different cause. Let user know what is the cause of the error. Signed-off-by: Marek Chalupa --- src/wayland-server.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/wayland-server.c b/src/wayland-server.c index ac4db65..7