[PATCH weston 1/4] Fix PDF viewer not to produce garbage windows for nonexistent files

Pekka Vuorela pvuorela at iki.fi
Mon Sep 17 12:15:54 PDT 2012


Was calling window_flush() on redraw handler which already happens on
window redrawing.
---
 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



More information about the wayland-devel mailing list