projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
From http://www.jwz.org/xscreensaver/xscreensaver-5.35.tar.gz
[xscreensaver]
/
hacks
/
hypercube.c
diff --git
a/hacks/hypercube.c
b/hacks/hypercube.c
index ce35ba9b5f97c638c31bd054fd72aae47c0f8826..4fb16c584c80fb417a574ba496b6cb73b25eec2d 100644
(file)
--- a/
hacks/hypercube.c
+++ b/
hacks/hypercube.c
@@
-1,5
+1,4
@@
-/* xscreensaver, Copyright (c) 1992, 1995, 1996, 1998, 2000, 2006
- * Jamie Zawinski <jwz@jwz.org>
+/* xscreensaver, Copyright (c) 1992-2008 Jamie Zawinski <jwz@jwz.org>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
@@
-76,7
+75,7
@@
static const struct line_info line_table[LINE_COUNT];
static const char *hypercube_defaults[] =
{
static const char *hypercube_defaults[] =
{
- "*observer-z: 3",
+ "*observer-z: 3
.0
",
"*delay: 10000",
"*xy: 3",
"*xz: 5",
"*delay: 10000",
"*xy: 3",
"*xz: 5",
@@
-86,6
+85,7
@@
static const char *hypercube_defaults[] =
"*zw: 0",
".background: black",
".foreground: white",
"*zw: 0",
".background: black",
".foreground: white",
+ "*fpsSolid: true",
"*color0: magenta",
"*color3: #FF0093",
"*color1: yellow",
"*color0: magenta",
"*color3: #FF0093",
"*color1: yellow",
@@
-244,7
+244,7
@@
hypercube_draw (Display *dpy, Window window, void *closure)
struct hyper_state *hs = (struct hyper_state *) closure;
int this_delay = hs->hs_delay;
struct hyper_state *hs = (struct hyper_state *) closure;
int this_delay = hs->hs_delay;
-#ifdef HAVE_
COCOA
/* Don't second-guess Quartz's double-buffering */
+#ifdef HAVE_
JWXYZ
/* Don't second-guess Quartz's double-buffering */
XClearWindow (dpy, window);
#endif
XClearWindow (dpy, window);
#endif