Fix PDF viewer not to produce garbage windows for nonexistent files

Was calling window_flush() on redraw handler which already happens on
window redrawing.
Pekka Vuorela 12 years ago committed by Kristian Høgsberg
parent 80ad1a943d
commit 2bd429b734
  1. 1
      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;
}

Loading…
Cancel
Save