summaryrefslogtreecommitdiff
path: root/apps/unix/x11pdf.c
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2005-04-24 21:25:04 +0200
committerTor Andersson <tor@ghostscript.com>2005-04-24 21:25:04 +0200
commit19a3017206189742d57932f3b57e3e8dd0cb4402 (patch)
tree8cc8598e6592cd69978a066bd90683f512ef8dd4 /apps/unix/x11pdf.c
parentf2dccf64b9a6b015c0326c36f8226eef49d8d4f6 (diff)
downloadmupdf-19a3017206189742d57932f3b57e3e8dd0cb4402.tar.xz
force screen update after keypress
Diffstat (limited to 'apps/unix/x11pdf.c')
-rw-r--r--apps/unix/x11pdf.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/unix/x11pdf.c b/apps/unix/x11pdf.c
index 7c5633d5..bfe41888 100644
--- a/apps/unix/x11pdf.c
+++ b/apps/unix/x11pdf.c
@@ -452,6 +452,13 @@ int main(int argc, char **argv)
if (len)
onkey(buf[0]);
onmouse(oldx, oldy, 0, 0);
+
+ if (dirty)
+ {
+ winblit(&gapp);
+ dirty = 0;
+ }
+
break;
case MotionNotify: