X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fhypercube.c;h=5150ec3bdfbc130e49f6bf6ae4c66ba03ffc85cd;hb=f65151994eba80ecabcdac6eef6fa0dde7e2d45b;hp=04b1560a9feaad9ed7d65930f23cea2fb0a70d38;hpb=5b7bc6e70fb439cf4c4bf771ae9f94077fe4fe08;p=xscreensaver diff --git a/hacks/hypercube.c b/hacks/hypercube.c index 04b1560a..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",