[PATCH weston v2 2/8] Move part of screenshooter.c to weston-screenshooter.c

Pekka Paalanen ppaalanen at gmail.com
Thu Jun 2 11:33:59 UTC 2016


On Wed,  1 Jun 2016 21:43:24 +0300
Giulio Camuffo <giuliocamuffo at gmail.com> wrote:

> This patch splits screensooter.c so that the code implementing
> the private screenshooter protocol and launching the client is
> moved to a weston specific file, leaving only the code that can
> be shared between compositors in screenshooter.c.
> Two exported functions are added in screenshooter.c to start and
> stop the recorder.
> 
> Signed-off-by: Giulio Camuffo <giuliocamuffo at gmail.com>
> ---
> 
> v2
> 
>  Makefile.am                |   2 +
>  desktop-shell/shell.c      |   1 +
>  src/compositor.h           |   8 +-
>  src/screenshooter.c        | 187 +++++---------------------------------------
>  src/weston-screenshooter.c | 191 +++++++++++++++++++++++++++++++++++++++++++++
>  src/weston.h               |  42 ++++++++++
>  6 files changed, 261 insertions(+), 170 deletions(-)
>  create mode 100644 src/weston-screenshooter.c
>  create mode 100644 src/weston.h


Reviewed-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 811 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20160602/b98f1fdd/attachment.sig>


More information about the wayland-devel mailing list