[PATCH weston 1/5] compositor: introduce sub-surfaces

Pekka Paalanen ppaalanen at gmail.com
Fri Dec 21 04:12:58 PST 2012


On Fri, 21 Dec 2012 14:04:00 +0200
Pekka Paalanen <ppaalanen at gmail.com> wrote:

>  src/compositor.c |  366 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  src/compositor.h |   20 +++
>  2 files changed, 386 insertions(+), 0 deletions(-)
> 
> diff --git a/src/compositor.c b/src/compositor.c
> index 0a3c4c8..e7e1360 100644
> --- a/src/compositor.c
> +++ b/src/compositor.c
> @@ -1583,6 +1587,364 @@ static const struct wl_compositor_interface compositor_interface = {
>  	compositor_create_region
>  };
>  
> +static void
> +subsurface_configure(struct weston_surface *surface, int32_t dx, int32_t dy)
> +{
> +	int32_t x, y;
> +
> +	fprintf(stderr, "%s(surface %p, %d, %d)\n",
> +		__func__, surface, dx, dy);

Oh right, this one still has several debugging printf's in place, so
you can observe the hairy destruction sequences etc. ;-D
- pq


More information about the wayland-devel mailing list