X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Frocks.c;h=e5e0df5beaa78e8738d2fda0cfb264d6f62e509f;hb=f65151994eba80ecabcdac6eef6fa0dde7e2d45b;hp=fa5e504840ceeb8da2c9a6c32225852f558bfbf9;hpb=c6b273ef7292ba10943694df1656b05203d7b62f;p=xscreensaver diff --git a/hacks/rocks.c b/hacks/rocks.c index fa5e5048..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 [] = { - "*background: Black", - "*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); } }