mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-06 07:58:08 +02:00
Fix PDF viewer not to produce garbage windows for nonexistent files
Was calling window_flush() on redraw handler which already happens on window redrawing.
This commit is contained in:
parent
80ad1a943d
commit
2bd429b734
1 changed files with 0 additions and 1 deletions
|
|
@ -78,7 +78,6 @@ redraw_handler(struct widget *widget, void *data)
|
||||||
if(!view->document) {
|
if(!view->document) {
|
||||||
cairo_destroy(cr);
|
cairo_destroy(cr);
|
||||||
cairo_surface_destroy(surface);
|
cairo_surface_destroy(surface);
|
||||||
window_flush(view->window);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue