-/* xscreensaver, Copyright (c) 1997 Jamie Zawinski <jwz@netscape.com>
+/* xscreensaver, Copyright (c) 1997, 1998 Jamie Zawinski <jwz@jwz.org>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
#include <X11/Xutil.h>
#include <stdio.h>
-static int ncolors, color_shift;
+static int ncolors;
static XColor *colors = 0;
static int fg_pixel, bg_pixel;
static Pixmap p0 = 0, p1 = 0, p2 = 0, p3 = 0;
char *progclass = "Moire2";
char *defaults [] = {
- "Moire2.background: black", /* to placate SGI */
- "Moire2.foreground: white",
+ ".background: black",
+ ".foreground: white",
"*delay: 50000",
"*thickness: 0",
"*colors: 150",
for (i = 0; i < color_shift; i++)
{
moire2 (dpy, window);
+ screenhack_handle_events (dpy);
if (delay)
usleep(delay);
}