mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 20:33:46 +01:00
Readjust window if new document has been opened
This commit is contained in:
parent
7b0aab7404
commit
fab515a42c
@ -510,6 +510,10 @@ document_open(zathura_t* zathura, const char* path, const char* password)
|
||||
|
||||
free(file_uri);
|
||||
|
||||
/* adjust window */
|
||||
girara_argument_t argument = { zathura->document->adjust_mode, NULL };
|
||||
sc_adjust_window(zathura->ui.session, &argument, NULL, 0);
|
||||
|
||||
return true;
|
||||
|
||||
error_free:
|
||||
|
Loading…
Reference in New Issue
Block a user