[PATCH weston] fullscreen-shell: Fix compiler warnings

Pekka Paalanen ppaalanen at gmail.com
Fri Aug 8 08:13:38 PDT 2014


On Tue, 29 Jul 2014 21:57:24 +0300
Giulio Camuffo <giuliocamuffo at gmail.com> wrote:

> ---
>  fullscreen-shell/fullscreen-shell.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/fullscreen-shell/fullscreen-shell.c b/fullscreen-shell/fullscreen-shell.c
> index a8dad8e..25932d4 100644
> --- a/fullscreen-shell/fullscreen-shell.c
> +++ b/fullscreen-shell/fullscreen-shell.c
> @@ -262,7 +262,7 @@ fs_output_create(struct fullscreen_shell *shell, struct weston_output *output)
>  	fsout->black_view = create_black_surface(shell->compositor, fsout,
>  						 output->x, output->y,
>  						 output->width, output->height);
> -	wl_list_insert(&shell->layer.view_list,
> +	weston_layer_entry_insert(&shell->layer.view_list,
>  		       &fsout->black_view->layer_link);
>  	wl_list_init(&fsout->transform.link);
>  	return fsout;
> @@ -573,7 +573,7 @@ fs_output_apply_pending(struct fs_output *fsout)
>  
>  		wl_signal_add(&fsout->surface->destroy_signal,
>  			      &fsout->surface_destroyed);
> -		wl_list_insert(&fsout->shell->layer.view_list,
> +		weston_layer_entry_insert(&fsout->shell->layer.view_list,
>  			       &fsout->view->layer_link);
>  	}
>  

Ah! I've been looking for this and noticed only just now. Pushed! :-)


Thanks,
pq


More information about the wayland-devel mailing list