compositor: export weston_buffer_from_resource()

This is needed to allow shell plugins to implement their own
screenshooter.
dev
Giulio Camuffo 11 years ago committed by Kristian Høgsberg
parent 0ea14f51e5
commit e058cd13e8
  1. 2
      src/compositor.c

@ -1442,7 +1442,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;

Loading…
Cancel
Save