Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pwmt
zathura
Commits
fab515a4
Commit
fab515a4
authored
Mar 25, 2012
by
Moritz Lipp
Browse files
Readjust window if new document has been opened
parent
7b0aab74
Changes
1
Show whitespace changes
Inline
Side-by-side
zathura.c
View file @
fab515a4
...
...
@@ -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:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment