projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://www.jwz.org/xscreensaver/xscreensaver-5.12.tar.gz
[xscreensaver]
/
hacks
/
petri.c
diff --git
a/hacks/petri.c
b/hacks/petri.c
index 275fb42c83740304dfd2470b93bae72d91028cd5..860d0349e95e39cb28a293f2f77086e6641bba77 100644
(file)
--- a/
hacks/petri.c
+++ b/
hacks/petri.c
@@
-243,7
+243,6
@@
static void
setup_display (struct state *st)
{
XWindowAttributes xgwa;
setup_display (struct state *st)
{
XWindowAttributes xgwa;
- Colormap cmap;
int cell_size = get_integer_resource (st->dpy, "size", "Integer");
int osize, alloc_size, oalloc;
int cell_size = get_integer_resource (st->dpy, "size", "Integer");
int osize, alloc_size, oalloc;
@@
-398,8
+397,6
@@
setup_display (struct state *st)
st->mindeathspeed *= st->diaglim;
st->maxdeathspeed *= st->diaglim;
st->mindeathspeed *= st->diaglim;
st->maxdeathspeed *= st->diaglim;
- cmap = xgwa.colormap;
-
st->windowWidth = xgwa.width;
st->windowHeight = xgwa.height;
st->windowWidth = xgwa.width;
st->windowHeight = xgwa.height;
@@
-718,6
+715,7
@@
petri_free (Display *dpy, Window window, void *closure)
static const char *petri_defaults [] = {
".background: black",
".foreground: white",
static const char *petri_defaults [] = {
".background: black",
".foreground: white",
+ "*fpsSolid: true",
"*delay: 10000",
"*count: 20",
"*size: 2",
"*delay: 10000",
"*count: 20",
"*size: 2",