Commit fab515a4 authored by Moritz Lipp's avatar Moritz Lipp
Browse files

Readjust window if new document has been opened

parent 7b0aab74
......@@ -510,6 +510,10 @@ document_open(zathura_t* zathura, const char* path, const char* password)
/* adjust window */
girara_argument_t argument = { zathura->document->adjust_mode, NULL };
sc_adjust_window(zathura->ui.session, &argument, NULL, 0);
return true;
Supports Markdown
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