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 <pekka.paalanen@collabora.com>
This commit is contained in:
Pekka Paalanen 2022-10-04 12:21:36 +03:00
parent 17df553bf3
commit fdaf4cf320
1 changed files with 1 additions and 1 deletions

View File

@ -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