-/* xscreensaver, Copyright (c) 1997 Jamie Zawinski <jwz@netscape.com>
+/* xscreensaver, Copyright (c) 1997 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 = "XJack";
char *defaults [] = {
- "XJack.background: black", /* to placate SGI */
- "XJack.foreground: #00EE00",
+ ".background: black",
+ ".foreground: #00EE00",
"XJack.font: -*-courier-medium-r-*-*-*-240-*-*-m-*-*-*",
"*delay: 50000",
0
hspace, xgwa.height, False);
y--;
lines--;
- XSync (dpy, True);
+ XSync (dpy, False);
if (delay) usleep (delay * 10);
}
if (y < 0) y = 0;
{
x--;
s--;
- XSync (dpy, True);
+ XSync (dpy, False);
if (delay) usleep (0xFFFF & (delay + (random() % (delay * 10))));
}
}
s = source;
}
- XSync (dpy, True);
+ XSync (dpy, False);
if (delay)
{
usleep (delay);
if (x >= columns) x = 0, y++;
n1++;
}
- XSync (dpy, True);
+ XSync (dpy, False);
usleep (5000000);
while (*n2)
{
n2++;
}
y++;
- XSync (dpy, True);
+ XSync (dpy, False);
usleep (500000);
}
}
+ screenhack_handle_events (dpy);
}
}