X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fshadebobs.c;h=39040ea377c66067619ea4bdc19932c23226d90a;hb=f0261d8acab611f3433160e4f07367b870439739;hp=72d5aa04f76bb186a04490b89aff8601a6c88cbe;hpb=49f5b54f312fe4ac2e9bc47581a72451bd0e8439;p=xscreensaver diff --git a/hacks/shadebobs.c b/hacks/shadebobs.c index 72d5aa04..39040ea3 100644 --- a/hacks/shadebobs.c +++ b/hacks/shadebobs.c @@ -45,12 +45,13 @@ static const char *shadebobs_defaults [] = { ".background: black", ".foreground: white", + "*fpsSolid: true", "*degrees: 0", /* default: Automatic degree calculation */ "*color: random", "*count: 4", "*cycles: 10", "*ncolors: 64", /* changing this doesn't work particularly well */ - "*delay: 5000", + "*delay: 10000", 0 }; @@ -343,7 +344,7 @@ static void Initialize( struct state *st ) else if( st->iDegreeCount > 5400 ) st->iDegreeCount = 5400; CreateTables( st, st->iDegreeCount ); #ifdef VERBOSE - printf( "%s: Using a %d degree circle.\n", progname ); + printf( "%s: Using a %d degree circle.\n", progname, st->iDegreeCount ); #endif /* VERBOSE */ /* Get the base color. */ @@ -424,16 +425,6 @@ shadebobs_draw (Display *dpy, Window window, void *closure) for( st->iShadeBob=0; st->iShadeBobnShadeBobCount; st->iShadeBob++ ) Execute( st, &st->aShadeBobs[ st->iShadeBob ] ); -#ifdef VERBOSE - iFrame++; - if( nTime - time( NULL ) ) - { - printf( "%s: %d FPS\n", progname, iFrame ); - nTime = time( NULL ); - iFrame = 0; - } -#endif /* VERBOSE */ - return st->delay; }