Commit 2c76fde3 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Make sure there are no outstanding requests if the page size gets changed

Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <>
parent 6ae3a7ea
......@@ -608,7 +608,10 @@ static void
zathura_page_widget_size_allocate(GtkWidget* widget, GdkRectangle* allocation)
GTK_WIDGET_CLASS(zathura_page_widget_parent_class)->size_allocate(widget, allocation);
zathura_page_widget_update_surface(ZATHURA_PAGE(widget), NULL);
ZathuraPage* page = ZATHURA_PAGE(widget);
zathura_page_widget_update_surface(page, NULL);
static void
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment