X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fhypercube.c;h=5150ec3bdfbc130e49f6bf6ae4c66ba03ffc85cd;hb=f65151994eba80ecabcdac6eef6fa0dde7e2d45b;hp=9c0def91e8169d45b85ef3dd400a36e2de6b1d66;hpb=f3e0240915ed9f9b3a61781f5c7002d587563fe0;p=xscreensaver diff --git a/hacks/hypercube.c b/hacks/hypercube.c index 9c0def91..5150ec3b 100644 --- a/hacks/hypercube.c +++ b/hacks/hypercube.c @@ -1,5 +1,5 @@ -/* xscreensaver, Copyright (c) 1992, 1995, 1996 - * Jamie Zawinski +/* xscreensaver, Copyright (c) 1992, 1995, 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 @@ -210,7 +210,8 @@ hyper (double xy, double xz, double yz, double xw, double yw, double zw) rotates (y,w); rotates (z,w); - XSync (dpy, True); + XSync (dpy, False); + screenhack_handle_events (dpy); if (delay) usleep (delay); } } @@ -219,8 +220,8 @@ hyper (double xy, double xz, double yz, double xw, double yw, double zw) char *progclass = "Hypercube"; char *defaults [] = { - "Hypercube.background: black", /* to placate SGI */ - "Hypercube.foreground: white", + ".background: black", + ".foreground: white", "*color0: red", "*color1: orange", "*color2: yellow", @@ -238,7 +239,7 @@ char *defaults [] = { "*zw: 0.000", "*observer-z: 5", - "*delay: 100000", + "*delay: 30000", 0 };