X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fattraction.c;h=1a84833b80fb89a86becee326877b31260961108;hb=f65151994eba80ecabcdac6eef6fa0dde7e2d45b;hp=0cea509a40406b687b1c8b6a17cfdd80f945cd68;hpb=0bd2eabab3e404c6769fe8f59b639275e960c415;p=xscreensaver diff --git a/hacks/attraction.c b/hacks/attraction.c index 0cea509a..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,7 +605,7 @@ run_balls (Display *dpy, Window window) abort (); } - XSync (dpy, True); + XSync (dpy, False); } @@ -661,6 +661,7 @@ screenhack (Display *dpy, Window window) while (1) { run_balls (dpy, window); + screenhack_handle_events (dpy); if (delay) usleep (delay); } }