-/* xscreensaver, Copyright (c) 1997, 1998 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
char *progclass = "Jigsaw";
char *defaults [] = {
- "*background: Black",
- "*foreground: Gray40",
+ ".background: Black",
+ ".foreground: Gray40",
"*delay: 70000",
"*delay2: 5",
0
while (!done())
{
unshuffle(dpy, window);
- XSync (dpy, True);
+ XSync (dpy, False);
+ screenhack_handle_events (dpy);
if (delay) usleep (delay);
}
+ screenhack_handle_events (dpy);
if (delay2)
usleep (delay2 * 1000000);