* other special, indirect and consequential damages.
*
* Revision History:
- * 10-May-97: jwz@netscape.com: turned into a standalone program.
+ * 10-May-97: jwz@jwz.org: turned into a standalone program.
* 01-Jan-97: Moved new flame to drift. Compile time options now run time.
* 01-Jun-95: Updated by Scott Draves.
* 27-Jun-91: vary number of functions used.
"*ncolors: 200 \n"
# define SMOOTH_COLORS
# include "xlockmore.h" /* from the xscreensaver distribution */
+# include "erase.h"
#else /* !STANDALONE */
# include "xlock.h" /* from the xlockmore distribution */
#endif /* !STANDALONE */
dp->fractal_len = 2000000;
}
dp->fractal_len = (dp->fractal_len * MI_BATCHCOUNT(mi)) / 20;
-
XClearWindow(MI_DISPLAY(mi), MI_WINDOW(mi));
}
draw(mi, dp, window);
if (dp->total_points++ > dp->fractal_len) {
draw_flush(mi, dp, window);
- if (0 == --dp->nfractals)
- initmode(mi, frandom(2));
+ if (0 == --dp->nfractals) {
+#ifdef STANDALONE
+ XSync(MI_DISPLAY(mi), False);
+ sleep(4); /* #### make settable */
+ erase_full_window(MI_DISPLAY(mi), MI_WINDOW(mi));
+#endif /* STANDALONE */
+ initmode(mi, frandom(2));
+ }
initfractal(mi);
}
dp->timer--;