[PATCH weston] compositor: export weston_buffer_from_resource()
Kristian Høgsberg
hoegsberg at gmail.com
Wed Apr 2 09:14:17 PDT 2014
On Thu, Dec 12, 2013 at 02:14:29PM +0100, Giulio Camuffo wrote:
> This is needed to allow shell plugins to implement their own
> screenshooter.
> ---
Make sense, committed.
Kristian
> src/compositor.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/compositor.c b/src/compositor.c
> index 66ed7de..edc6df0 100644
> --- a/src/compositor.c
> +++ b/src/compositor.c
> @@ -1354,7 +1354,7 @@ weston_buffer_destroy_handler(struct wl_listener *listener, void *data)
> free(buffer);
> }
>
> -struct weston_buffer *
> +WL_EXPORT struct weston_buffer *
> weston_buffer_from_resource(struct wl_resource *resource)
> {
> struct weston_buffer *buffer;
> --
> 1.8.5.1
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
More information about the wayland-devel
mailing list