static void Execute( struct state *st )
{
- unsigned int i, j, k;
+ int i, j, k;
/* clear st->blub array */
for (i = 0; i < st->iWinHeight; ++i)
{
XGCValues gcValues;
XWindowAttributes XWinAttribs;
- int iBitsPerPixel, i, j;
+ int /*iBitsPerPixel,*/ i, j;
unsigned int distance_squared;
float fraction;
XGetWindowAttributes( st->dpy, st->window, &XWinAttribs );
/* Find the preferred bits-per-pixel. (jwz) */
+#if 0
{
int pfvc = 0;
XPixmapFormatValues *pfv = XListPixmapFormats( st->dpy, &pfvc );
if( pfv )
XFree (pfv);
}
+#endif
/* Create the GC. */
st->gc = XCreateGC( st->dpy, st->window, 0, &gcValues );
"*count: 10",
"*cycles: 1000",
"*ncolors: 256",
- "*delay: 5000",
+ "*delay: 10000",
"*radius: 100",
"*delta: 3",
0
};
-XSCREENSAVER_MODULE ("Metaballs", metaballs)
+XSCREENSAVER_MODULE ("MetaBalls", metaballs)
/* End of Module - "metaballs.c" */