mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 11:06:00 +01:00
Fix document update feature
This commit is contained in:
parent
0b2c7c3a12
commit
473e51b8dc
1 changed files with 1 additions and 1 deletions
|
@ -1219,12 +1219,12 @@ watch_file(void* parameter)
|
||||||
int page = Zathura.PDF.page_number;
|
int page = Zathura.PDF.page_number;
|
||||||
|
|
||||||
/* reopen and restore settings */
|
/* reopen and restore settings */
|
||||||
|
gdk_threads_enter();
|
||||||
cmd_close(0, NULL);
|
cmd_close(0, NULL);
|
||||||
open_file(path, password);
|
open_file(path, password);
|
||||||
|
|
||||||
Zathura.PDF.scale = scale;
|
Zathura.PDF.scale = scale;
|
||||||
|
|
||||||
gdk_threads_enter();
|
|
||||||
draw(page);
|
draw(page);
|
||||||
gdk_threads_leave();
|
gdk_threads_leave();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue