[PATCH weston 07/15] libweston: unexport weston_output_update_matrix()

Armin Krezović krezovic.armin at gmail.com
Tue Apr 4 19:49:26 UTC 2017


On 04.04.2017 12:58, Pekka Paalanen wrote:
> From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
> 
> Only used internally in core. Needs to happen automatically when
> something changes, so there should no need to call it from outside.
> 
> Signed-off-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>

Reviewed-by: Armin Krezović <krezovic.armin at gmail.com>

Thanks, Armin.

> ---
>  libweston/compositor.c | 5 ++++-
>  libweston/compositor.h | 2 --
>  2 files changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/libweston/compositor.c b/libweston/compositor.c
> index 3c8be62..baa4176 100644
> --- a/libweston/compositor.c
> +++ b/libweston/compositor.c
> @@ -67,6 +67,9 @@
>  #define DEFAULT_REPAINT_WINDOW 7 /* milliseconds */
>  
>  static void
> +weston_output_update_matrix(struct weston_output *output);
> +
> +static void
>  weston_output_transform_scale_init(struct weston_output *output,
>  				   uint32_t transform, uint32_t scale);
>  
> @@ -4339,7 +4342,7 @@ weston_compositor_reflow_outputs(struct weston_compositor *compositor,
>  	}
>  }
>  
> -WL_EXPORT void
> +static void
>  weston_output_update_matrix(struct weston_output *output)
>  {
>  	float magnification;
> diff --git a/libweston/compositor.h b/libweston/compositor.h
> index 6c05d59..28e9466 100644
> --- a/libweston/compositor.h
> +++ b/libweston/compositor.h
> @@ -1710,8 +1710,6 @@ void
>  weston_output_activate_zoom(struct weston_output *output,
>  			    struct weston_seat *seat);
>  void
> -weston_output_update_matrix(struct weston_output *output);
> -void
>  weston_output_move(struct weston_output *output, int x, int y);
>  
>  void
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 870 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20170404/ef0a8d47/attachment.sig>


More information about the wayland-devel mailing list