X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fattraction.c;h=1a84833b80fb89a86becee326877b31260961108;hb=f65151994eba80ecabcdac6eef6fa0dde7e2d45b;hp=667a67b0ffd249558b86014a04debb93b5038868;hpb=c6b273ef7292ba10943694df1656b05203d7b62f;p=xscreensaver diff --git a/hacks/attraction.c b/hacks/attraction.c index 667a67b0..1a84833b 100644 --- a/hacks/attraction.c +++ b/hacks/attraction.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 @@ -605,15 +605,15 @@ run_balls (Display *dpy, Window window) abort (); } - XSync (dpy, True); + XSync (dpy, False); } char *progclass = "Attraction"; char *defaults [] = { - "*background: black", - "*foreground: white", + ".background: black", + ".foreground: white", "*mode: balls", "*points: 0", "*size: 0", @@ -661,6 +661,7 @@ screenhack (Display *dpy, Window window) while (1) { run_balls (dpy, window); + screenhack_handle_events (dpy); if (delay) usleep (delay); } }