[PATCH weston] compositor: remove unused signal

Pekka Paalanen ppaalanen at gmail.com
Tue Sep 9 01:57:01 PDT 2014


On Fri,  5 Sep 2014 23:26:33 +0300
Giulio Camuffo <giuliocamuffo at gmail.com> wrote:

> The move_signal in weston_output isn't used, and not even initialized,
> so anything trying to listen to it will crash on wl_signal_add().
> Instead of it, the 'output_moved_signal' in weston_compositor is
> used, so remove it.
> ---
>  src/compositor.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/src/compositor.h b/src/compositor.h
> index a40dabd..9611dea 100644
> --- a/src/compositor.h
> +++ b/src/compositor.h
> @@ -200,7 +200,6 @@ struct weston_output {
>  	int dirty;
>  	struct wl_signal frame_signal;
>  	struct wl_signal destroy_signal;
> -	struct wl_signal move_signal;
>  	int move_x, move_y;
>  	uint32_t frame_time;
>  	int disable_planes;

Pushed, trivial enough even if not a bug fix.


Thanks,
pq


More information about the wayland-devel mailing list