From fdaf4cf32093d42b7b46ebd41748b66be1ff0513 Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Tue, 4 Oct 2022 12:21:36 +0300 Subject: [PATCH] libweston: deprecate weston_screenshooter_shoot() Nothing in-tree uses this function, and its functionality has been replaced with the weston-output-capture protocol extension which is implemented in libweston core. Users of this function should migrate to weston_compositor_add_screenshot_authority() and replace custom screenshooting protocols with weston-output-capture.xml installed by libweston. Signed-off-by: Pekka Paalanen --- include/libweston/libweston.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libweston/libweston.h b/include/libweston/libweston.h index 1a4dfe660..9a3eab074 100644 --- a/include/libweston/libweston.h +++ b/include/libweston/libweston.h @@ -2118,7 +2118,7 @@ typedef void (*weston_screenshooter_done_func_t)(void *data, enum weston_screenshooter_outcome outcome); int weston_screenshooter_shoot(struct weston_output *output, struct weston_buffer *buffer, - weston_screenshooter_done_func_t done, void *data); + weston_screenshooter_done_func_t done, void *data) WL_DEPRECATED; struct weston_recorder * weston_recorder_start(struct weston_output *output, const char *filename); void