X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fpyro.c;h=ddace3910fbeb3b942a2d5a321e4a4f472bb84af;hb=14463b6ad1ab1ccf81f9c33350b048e410ba94cb;hp=4aa71da73800995b4fcd2a5398d2c2f65fa98546;hpb=c6b273ef7292ba10943694df1656b05203d7b62f;p=xscreensaver diff --git a/hacks/pyro.c b/hacks/pyro.c index 4aa71da7..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++) @@ -223,8 +224,8 @@ pyro (Display *dpy, Window window, Colormap cmap) char *progclass = "Pyro"; char *defaults [] = { - "*background: black", - "*foreground: white", + ".background: black", + ".foreground: white", "*count: 100", "*frequency: 30", "*scatter: 20",