Re: [PATCH wayland] wl_strtol and wl_strtoul utility functions are added

2014-10-15 Thread Rémi Denis-Courmont
zero. -- Rémi Denis-Courmont ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Re: [PATCH wayland] client: add wl_proxy_get_version function

2014-10-06 Thread Rémi Denis-Courmont
- destroy the compositor object. -- Rémi Denis-Courmont ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Re: [PATCH wayland] client: add wl_proxy_get_version function

2014-10-06 Thread Rémi Denis-Courmont
only fire after a new requests was sent, and - never copying the listener structure ever in the client library (to prevent out-of-bounds read). Otherwise, it would still fail the code path setting the object listener targets an older interface version than the code path creati

Re: [PATCH wayland] client: add wl_proxy_get_version function

2014-10-05 Thread Rémi Denis-Courmont
4] I see, thanks. -- Rémi Denis-Courmont ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Re: [PATCH wayland] client: add wl_proxy_get_version function

2014-10-05 Thread Rémi Denis-Courmont
Nevermind, that gets the version number of the client protocol library, not the version actually instantiated for the object :-( -- Rémi Denis-Courmont http://www.remlab.net/ ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http

[PATCH] client: add wl_proxy_get_version function

2014-10-05 Thread Rémi Denis-Courmont
GUI can pass a wl_surface to a video playback library. If the video is rotated, the library will want to use wl_surface.set_buffer_transform, which is only available in version 2 of wl_surface. Signed-off-by: Rémi Denis-Courmont --- src/wayland-client.c | 13 + src/wayland-client.h

[PATCH wayland] client: add wl_proxy_get_version function

2014-10-05 Thread Rémi Denis-Courmont
GUI can pass a wl_surface to a video playback library. If the video is rotated, the library will want to use wl_surface.set_buffer_transform, which is only available in version 2 of wl_surface. Signed-off-by: Rémi Denis-Courmont --- src/wayland-client.c | 13 + src/wayland-client.h