This is needed to allow shell plugins to implement their own
screenshooter.
---
 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@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to