[PATCH weston] compositor: remove a call to weston_compositor_schedule_repaint

Giulio Camuffo giuliocamuffo at gmail.com
Sat Jul 25 00:11:04 PDT 2015


2015-07-25 4:09 GMT+02:00 Ryo Munakata <ryomnktml at gmail.com>:
> In weston_compositor_create, we initialize output_list.
> After that we call weston_compositor_schedule_repaint which just calls
> weston_output_schedule_repaint on all elements of output_list.
> This call does nothing obviously. So we remove it.

That makes sense.

Reviewed-By: Giulio Camuffo <giuliocamuffo at gmail.com>

>
> Signed-off-by: Ryo Munakata <ryomnktml at gmail.com>
> ---
>  src/compositor.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/src/compositor.c b/src/compositor.c
> index 66c3eee..4fb7304 100644
> --- a/src/compositor.c
> +++ b/src/compositor.c
> @@ -4532,8 +4532,6 @@ weston_compositor_create(struct wl_display *display, void *user_data)
>         weston_compositor_add_debug_binding(ec, KEY_T,
>                                             timeline_key_binding_handler, ec);
>
> -       weston_compositor_schedule_repaint(ec);
> -
>         return ec;
>
>  fail:
> --
> 2.4.6
>
> _______________________________________________
> 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