summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: