X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fgoop.c;h=ef0e8e667b7f5dde44ba1905aa877a80bbcffff8;hb=f65151994eba80ecabcdac6eef6fa0dde7e2d45b;hp=f31f9b91e235ab3632cecf3a1341df448a1afcba;hpb=c6b273ef7292ba10943694df1656b05203d7b62f;p=xscreensaver diff --git a/hacks/goop.c b/hacks/goop.c index f31f9b91..ef0e8e66 100644 --- a/hacks/goop.c +++ b/hacks/goop.c @@ -1,4 +1,4 @@ -/* xscreensaver, Copyright (c) 1997 Jamie Zawinski +/* xscreensaver, Copyright (c) 1997 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 @@ -488,8 +488,8 @@ run_goop (Display *dpy, Window window, struct goop *goop) char *progclass = "Goop"; char *defaults [] = { - "*background: black", - "*foreground: white", + ".background: black", + ".foreground: white", "*delay: 12000", "*transparent: true", "*additive: true", @@ -528,7 +528,8 @@ screenhack (Display *dpy, Window window) while (1) { run_goop (dpy, window, g); - XSync (dpy, True); + XSync (dpy, False); + screenhack_handle_events (dpy); if (delay) usleep (delay); } }