X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fpyro.c;h=ddace3910fbeb3b942a2d5a321e4a4f472bb84af;hb=f65151994eba80ecabcdac6eef6fa0dde7e2d45b;hp=b62e17ac71c6fb4d2d72b58aa658ae23737b2788;hpb=0bd2eabab3e404c6769fe8f59b639275e960c415;p=xscreensaver diff --git a/hacks/pyro.c b/hacks/pyro.c index b62e17ac..ddace391 100644 --- a/hacks/pyro.c +++ b/hacks/pyro.c @@ -1,5 +1,5 @@ -/* xscreensaver, Copyright (c) 1992, 1994, 1996 - * Jamie Zawinski +/* xscreensaver, Copyright (c) 1992, 1994, 1996, 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 @@ -164,7 +164,8 @@ pyro (Display *dpy, Window window, Colormap cmap) launch (xlim, ylim, g, dpy, cmap); } - XSync (dpy, True); + XSync (dpy, False); + screenhack_handle_events (dpy); usleep (10000); for (i = 0; i < how_many; i++)