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.34.tar.gz
[xscreensaver]
/
hacks
/
penetrate.c
diff --git
a/hacks/penetrate.c
b/hacks/penetrate.c
index 2196035f3cee476cd84eb5187b279035621b0d3e..611cf84e099e7298a9fc3cccb1609f09297a332e 100644
(file)
--- a/
hacks/penetrate.c
+++ b/
hacks/penetrate.c
@@
-366,7
+366,7
@@
penetrate_init (Display *dpy, Window window)
struct state *st = (struct state *) calloc (1, sizeof(*st));
int i;
const char *levelfont = "-*-courier-*-r-*-*-*-380-*-*-*-*-*-*";
struct state *st = (struct state *) calloc (1, sizeof(*st));
int i;
const char *levelfont = "-*-courier-*-r-*-*-*-380-*-*-*-*-*-*";
- const char *scorefont = "-*-
times
-*-r-*-*-*-180-*-*-*-*-*-*";
+ const char *scorefont = "-*-
helvetica
-*-r-*-*-*-180-*-*-*-*-*-*";
XGCValues gcv;
XWindowAttributes xgwa;
XGCValues gcv;
XWindowAttributes xgwa;
@@
-949,6
+949,7
@@
static void
penetrate_reshape (Display *dpy, Window window, void *closure,
unsigned int w, unsigned int h)
{
penetrate_reshape (Display *dpy, Window window, void *closure,
unsigned int w, unsigned int h)
{
+ XClearWindow (dpy, window);
}
static Bool
}
static Bool
@@
-968,10
+969,11
@@
penetrate_free (Display *dpy, Window window, void *closure)
static const char *penetrate_defaults [] = {
".background: black",
".foreground: white",
static const char *penetrate_defaults [] = {
".background: black",
".foreground: white",
+ "*fpsTop: true",
+ "*fpsSolid: true",
"*bgrowth: 5",
"*lrate: 80",
"*smart: False",
"*bgrowth: 5",
"*lrate: 80",
"*smart: False",
- "*geometry: 800x500",
0
};
0
};