X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fhelix.c;h=27c9d43763b13fde1f26929949c82ebaffa89589;hb=f65151994eba80ecabcdac6eef6fa0dde7e2d45b;hp=97de40dc7fb360ddd50a89b3ba5aba9659bb2a46;hpb=0bd2eabab3e404c6769fe8f59b639275e960c415;p=xscreensaver diff --git a/hacks/helix.c b/hacks/helix.c index 97de40dc..27c9d437 100644 --- a/hacks/helix.c +++ b/hacks/helix.c @@ -1,5 +1,5 @@ /* xscreensaver, Copyright (c) 1992, 1995, 1996, 1997 - * Jamie Zawinski + * 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 @@ -268,13 +268,16 @@ random_helix_or_trig (Display *dpy, Window window) else random_trig(dpy, window, &color, &free_color); - XSync (dpy, True); + XSync (dpy, False); + screenhack_handle_events (dpy); sleep ( sleep_time ); + screenhack_handle_events (dpy); erase_full_window(dpy, window); if (free_color) XFreeColors (dpy, cmap, &color.pixel, 1, 0); - XSync (dpy, True); + XSync (dpy, False); + screenhack_handle_events (dpy); sleep (1); }