-/* xscreensaver, Copyright (c) 1991-1994 Jamie Zawinski <jwz@netscape.com>
+/* xscreensaver, Copyright (c) 1991-1994 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 = "XRoger";
char *defaults [] = {
- "XRoger.background: black",
- "XRoger.foreground: red",
+ ".background: black",
+ ".foreground: red",
"*delay: 5",
0
};
x = random () % (w - ww);
y = random () % (h - hh);
XClearWindow (dpy, window);
+
+
skull (dpy, window, draw_gc, erase_gc, x, y, ww, hh);
- XSync (dpy, True);
+ XSync (dpy, False);
+ screenhack_handle_events (dpy);
start_time = time ((time_t *) 0);
if (mono_p)
sleep (delay);
rgb_to_hsv (color2.red, color2.green, color2.blue, &H, &S, &V);
V += delta;
if (V >= 1.0) V = 1.0, delta = -delta;
- if (V <= 0.7) V = 0.7, delta = -delta;
+ if (V <= 0.6) V = 0.7, delta = -delta;
hsv_to_rgb (H, S, V, &color2.red, &color2.green, &color2.blue);
color3 = color2;
if (XAllocColor (dpy, cmap, &color3))