mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-15 03:46:00 +01:00
parent
2ec99e9f9e
commit
edea6a5403
1 changed files with 1 additions and 0 deletions
|
@ -200,6 +200,7 @@ zathura_update_view_ppi(zathura_t* zathura)
|
||||||
if (fabs(ppi - current_ppi) > DBL_EPSILON) {
|
if (fabs(ppi - current_ppi) > DBL_EPSILON) {
|
||||||
girara_debug("monitor width: %d mm, pixels: %d, ppi: %0.2f", width_mm, monitor_geom.width, ppi);
|
girara_debug("monitor width: %d mm, pixels: %d, ppi: %0.2f", width_mm, monitor_geom.width, ppi);
|
||||||
zathura_document_set_viewport_ppi(zathura->document, ppi);
|
zathura_document_set_viewport_ppi(zathura->document, ppi);
|
||||||
|
adjust_view(zathura);
|
||||||
render_all(zathura);
|
render_all(zathura);
|
||||||
refresh_view(zathura);
|
refresh_view(zathura);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue