From f62240eb270d965291c7bfe4d507b84f6858688e Mon Sep 17 00:00:00 2001 From: neldoreth Date: Sun, 9 May 2010 22:28:25 +0200 Subject: [PATCH] Fix document update feature --- zathura.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zathura.c b/zathura.c index c1bb164..0636563 100644 --- a/zathura.c +++ b/zathura.c @@ -1219,12 +1219,12 @@ watch_file(void* parameter) int page = Zathura.PDF.page_number; /* reopen and restore settings */ + gdk_threads_enter(); cmd_close(0, NULL); open_file(path, password); Zathura.PDF.scale = scale; - gdk_threads_enter(); draw(page); gdk_threads_leave();