diff options
author | Paul Gardiner <paulg.artifex@glidos.net> | 2012-10-29 11:22:29 +0000 |
---|---|---|
committer | Paul Gardiner <paulg.artifex@glidos.net> | 2012-10-29 11:28:03 +0000 |
commit | c16cadec123f6150cee4008aa4836fbb8ffb0db6 (patch) | |
tree | ac0bb7787e37045e69ed7ad64e1a0e9d95e311e4 /apps/pdfapp.c | |
parent | 246d59d7c4a41bda9ef28ca38eba3be5f67726cc (diff) | |
download | mupdf-c16cadec123f6150cee4008aa4836fbb8ffb0db6.tar.xz |
Add fz_update_page
Regenerate dirty appearance streams and report changed annotations since
last call.
Also include a partial revert of changes in 96f335bc, that turn out not
to be necessary.
fz_update_page must now be called between each document-changing event and
the next render. pdfapp.c and the android app have been updated to do so,
but do not yet take advantage of the possibility to render only the updated
areas of the screen.
Diffstat (limited to 'apps/pdfapp.c')
-rw-r--r-- | apps/pdfapp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/pdfapp.c b/apps/pdfapp.c index c622bbb3..50a213aa 100644 --- a/apps/pdfapp.c +++ b/apps/pdfapp.c @@ -1336,6 +1336,7 @@ void pdfapp_onmouse(pdfapp_t *app, int x, int y, int btn, int modifiers, int sta } app->nowaitcursor = 1; + fz_update_page(idoc, app->page, NULL, NULL); pdfapp_showpage(app, 2, 1, 1, 0); app->nowaitcursor = 0; processed = 1; |