Fix dual page render breakge of adjust_window

When the page is set to adjust width to the window,
toggling dual page mode would break rendering because
sc_toggle_page_mode() did not update dimensions.
This commit is contained in:
Lingzhu Xiang 2015-02-05 17:29:23 -05:00
parent 12a9bf93ae
commit c17c54c4a0

View file

@ -1240,6 +1240,7 @@ sc_toggle_page_mode(girara_session_t* session, girara_argument_t*
}
girara_setting_set(zathura->ui.session, "pages-per-row", &value);
adjust_view(zathura);
return true;
}