Skip to content

Commit 5a2d8c5

Browse files
jchilds0sebastinas
authored andcommitted
update view when session view size changes
1 parent aa20f96 commit 5a2d8c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

zathura/zathura.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ static bool init_ui(zathura_t* zathura) {
260260
}
261261

262262
g_signal_connect(G_OBJECT(zathura->ui.session->gtk.window), "size-allocate", G_CALLBACK(cb_view_resized), zathura);
263+
g_signal_connect(G_OBJECT(zathura->ui.session->gtk.view), "size-allocate", G_CALLBACK(cb_view_resized), zathura);
263264

264265
GtkAdjustment* hadjustment = gtk_scrolled_window_get_hadjustment(GTK_SCROLLED_WINDOW(zathura->ui.session->gtk.view));
265266

0 commit comments

Comments
 (0)