[PATCH libinput 2/3] core: Move libinput_event definition to libinput-private.h

Peter Hutterer peter.hutterer at who-t.net
Sun Sep 21 22:03:59 PDT 2014


On Thu, Sep 18, 2014 at 01:11:04PM +0200, Hans de Goede wrote:
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>

Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>


> ---
>  src/libinput-private.h | 5 +++++
>  src/libinput.c         | 5 -----
>  2 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/src/libinput-private.h b/src/libinput-private.h
> index 94d6580..3b46c27 100644
> --- a/src/libinput-private.h
> +++ b/src/libinput-private.h
> @@ -125,6 +125,11 @@ struct libinput_device {
>  	struct libinput_device_config config;
>  };
>  
> +struct libinput_event {
> +	enum libinput_event_type type;
> +	struct libinput_device *device;
> +};
> +
>  struct libinput_event_listener {
>  	struct list link;
>  	void (*notify_func)(struct libinput_event *ev, void *notify_func_data);
> diff --git a/src/libinput.c b/src/libinput.c
> index 79ae90a..364890e 100644
> --- a/src/libinput.c
> +++ b/src/libinput.c
> @@ -42,11 +42,6 @@ struct libinput_source {
>  	struct list link;
>  };
>  
> -struct libinput_event {
> -	enum libinput_event_type type;
> -	struct libinput_device *device;
> -};
> -
>  struct libinput_event_device_notify {
>  	struct libinput_event base;
>  };
> -- 
> 2.1.0
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
> 


More information about the wayland-devel mailing list