-/* xscreensaver, Copyright (c) 1992, 1995, 1996, 1997
- * Jamie Zawinski <jwz@netscape.com>
+/* xscreensaver, Copyright (c) 1992, 1995, 1996, 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
}
XChangeGC (dpy, gc, GCStipple|GCForeground|GCBackground, &gcv);
XFillRectangle (dpy, window, gc, x, y, w, h);
- XSync (dpy, True);
+ XSync (dpy, False);
}
\f
char *progclass = "Greynetic";
char *defaults [] = {
- "*background: black",
- "*foreground: white",
+ ".background: black",
+ ".foreground: white",
"*delay: 0",
0
};
while (1)
{
greynetic (dpy, window);
+ screenhack_handle_events (dpy);
if (delay) usleep (delay);
}
}