[PATCH weston v1 11/17] add get_geometry & geometry request/event

Derek Foreman derekf at osg.samsung.com
Tue Dec 9 12:39:41 PST 2014


On 05/12/14 07:36 AM, Marek Chalupa wrote:
> ---
>  protocol/wayland-test.xml         | 11 +++++++++++
>  tests/weston-test-client-helper.c | 18 ++++++++++++++++++
>  tests/weston-test-client-helper.h |  6 ++++++
>  tests/weston-test.c               | 23 +++++++++++++++++++++++
>  4 files changed, 58 insertions(+)
> 
> diff --git a/protocol/wayland-test.xml b/protocol/wayland-test.xml
> index 18b6625..b4a6bc7 100644
> --- a/protocol/wayland-test.xml
> +++ b/protocol/wayland-test.xml
> @@ -3,6 +3,7 @@

I think we need to bump the interface version number when adding new stuff?

> +static void
> +get_geometry(struct wl_client *client, struct wl_resource *resource,
> +	     struct wl_resource *surface_resource)
> +{
> +	struct weston_view *view;
> +	struct weston_surface *surface =
> +		wl_resource_get_user_data (surface_resource);

I don't think we put a space there...


More information about the wayland-devel mailing list