X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Frocks.c;h=e5e0df5beaa78e8738d2fda0cfb264d6f62e509f;hb=f65151994eba80ecabcdac6eef6fa0dde7e2d45b;hp=8b12fa76d8d4a61521530e6aa8af1971a8511c1e;hpb=186b0b9f1638444c650c9273df38085e0db71e4a;p=xscreensaver diff --git a/hacks/rocks.c b/hacks/rocks.c index 8b12fa76..e5e0df5b 100644 --- a/hacks/rocks.c +++ b/hacks/rocks.c @@ -1,5 +1,5 @@ -/* xscreensaver, Copyright (c) 1992, 1995, 1996, 1997 - * Jamie Zawinski +/* xscreensaver, Copyright (c) 1992, 1995, 1996, 1997, 1998 + * Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -488,8 +488,8 @@ init_rocks (Display *d, Window w) char *progclass = "Rocks"; char *defaults [] = { - "Rocks.background: Black", /* to placate SGI */ - "Rocks.foreground: #E9967A", + ".background: Black", + ".foreground: #E9967A", "*colors: 5", "*count: 100", "*delay: 50000", @@ -527,7 +527,8 @@ screenhack (Display *dpy, Window window) while (1) { rocks_once (); - XSync (dpy, True); + XSync (dpy, False); + screenhack_handle_events (dpy); if (delay) usleep (delay); } }