[PATCH] compositor.h: Remove unused variable from weston_seat structure

Derek Foreman derekf at osg.samsung.com
Wed Nov 18 07:24:31 PST 2015


On 18/11/15 09:22 AM, Chris Michael wrote:
> This variable may have been used previously when evdev.c was used
> however that functionality seems to have been consumed by libinput, so
> there is no need for this variable in the weston_seat structure anymore.
> 
> Signed-off-by: Chris Michael <cp.michael at samsung.com>

Seems obvious enough to me.

Reviewed-by: Derek Foreman <derekf at osg.samsung.com>

> ---
>  src/compositor.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/src/compositor.h b/src/compositor.h
> index f3e0075..669d6c9 100644
> --- a/src/compositor.h
> +++ b/src/compositor.h
> @@ -536,7 +536,6 @@ struct weston_seat {
>  
>  	void (*led_update)(struct weston_seat *ws, enum weston_led leds);
>  
> -	uint32_t slot_map;
>  	struct input_method *input_method;
>  	char *seat_name;
>  };
> 



More information about the wayland-devel mailing list