mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 10:36:00 +01:00
invalidate rect
This commit is contained in:
parent
45afe89e87
commit
4eef03c201
1 changed files with 1 additions and 1 deletions
2
render.c
2
render.c
|
@ -218,7 +218,7 @@ page_expose_event(GtkWidget* widget, GdkEventExpose* event, gpointer data)
|
|||
}
|
||||
|
||||
girara_info("page->num %d page->surface: %p", page->number, page->surface);
|
||||
if (page->surface == NULL) {
|
||||
if (page->surface != NULL) {
|
||||
cairo_set_source_surface(cairo, page->surface, 0, 0);
|
||||
cairo_paint(cairo);
|
||||
|
||||
|
|
Loading…
Reference in a new issue