mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 22:03:48 +01:00
resize
This commit is contained in:
parent
4eef03c201
commit
7dd5c0d567
3
render.c
3
render.c
@ -172,7 +172,8 @@ render(zathura_t* zathura, zathura_page_t* page)
|
||||
/* draw to gtk widget */
|
||||
girara_info("surface: %d %p", page->number, surface);
|
||||
page->surface = surface;
|
||||
gdk_window_invalidate_rect(page->drawing_area->window, NULL, TRUE);
|
||||
gtk_widget_set_size_request(page->drawing_area, page_width, page_height);
|
||||
gtk_widget_queue_draw(page->drawing_area);
|
||||
|
||||
zathura_image_buffer_free(image_buffer);
|
||||
g_static_mutex_unlock(&(page->lock));
|
||||
|
Loading…
Reference in New Issue
Block a user