X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Finterference.c;h=fefaf9d9de1ceefce55751bf510a8ffce9466fca;hb=a94197e76a5dea5cb60542840809d6c20d0abbf3;hp=a7a9195634235fa735ef61f66bf45d96cee6b8c2;hpb=df7adbee81405e2849728a24b498ad2117784b1f;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);