X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Finterference.c;h=fefaf9d9de1ceefce55751bf510a8ffce9466fca;hb=cccbddbc4140cf9a06d7d95cc5c0ca36eb5d6e28;hp=a7a9195634235fa735ef61f66bf45d96cee6b8c2;hpb=a719ec12b8b2563112366a8ac3196816fd64d2c7;p=xscreensaver diff --git a/hacks/interference.c b/hacks/interference.c index a7a91956..fefaf9d9 100644 --- a/hacks/interference.c +++ b/hacks/interference.c @@ -69,6 +69,8 @@ char *progclass="Interference"; char *defaults [] = { + ".background: black", + ".foreground: white", "*count: 3", /* number of waves */ "*gridsize: 4", /* pixel size, smaller values for better resolution */ "*ncolors: 128", /* number of colours used */ @@ -272,8 +274,6 @@ void inter_init(Display* dpy, Window win, struct inter_context* c) if(!mono) { c->pal = calloc(c->colors, sizeof(XColor)); - srand48(time(NULL)); - gray = get_boolean_resource("gray", "Boolean"); if(!gray) { H[0] = frand(360.0);