[PATCH weston 1/4] Fix PDF viewer not to produce garbage windows for nonexistent files
Kristian Høgsberg
hoegsberg at gmail.com
Tue Sep 25 07:25:21 PDT 2012
On Mon, Sep 17, 2012 at 10:15:54PM +0300, Pekka Vuorela wrote:
> Was calling window_flush() on redraw handler which already happens on
> window redrawing.
All four patches look good, thanks for fixing those.
Kristian
> ---
> clients/view.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/clients/view.c b/clients/view.c
> index b40a992..394cc8a 100644
> --- a/clients/view.c
> +++ b/clients/view.c
> @@ -78,7 +78,6 @@ redraw_handler(struct widget *widget, void *data)
> if(!view->document) {
> cairo_destroy(cr);
> cairo_surface_destroy(surface);
> - window_flush(view->window);
> return;
> }
>
> --
> 1.7.9.5
>
> _______________________________________________
> 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