mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-11 04:33:48 +01:00
Make sure there are no outstanding requests if the page size gets changed
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
6ae3a7eab8
commit
2c76fde31f
@ -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_abort_render_request(page);
|
||||
zathura_page_widget_update_surface(page, NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user