mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-02-27 10:04:40 +01:00
Readjust window if new document has been opened
This commit is contained in:
parent
7b0aab7404
commit
fab515a42c
1 changed files with 4 additions and 0 deletions
|
@ -510,6 +510,10 @@ document_open(zathura_t* zathura, const char* path, const char* password)
|
||||||
|
|
||||||
free(file_uri);
|
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;
|
return true;
|
||||||
|
|
||||||
error_free:
|
error_free:
|
||||||
|
|
Loading…
Add table
Reference in a new issue