Commit edea6a54 authored by Jona Ackerschott's avatar Jona Ackerschott Committed by Sebastian Ramacher

Fix screen freeze in some cases

Partially fixes #94
parent 2ec99e9f
Pipeline #269 passed with stages
in 1 minute and 50 seconds
......@@ -200,6 +200,7 @@ zathura_update_view_ppi(zathura_t* zathura)
if (fabs(ppi - current_ppi) > DBL_EPSILON) {
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);
adjust_view(zathura);
render_all(zathura);
refresh_view(zathura);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment