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.18.tar.gz
[xscreensaver]
/
hacks
/
piecewise.c
diff --git
a/hacks/piecewise.c
b/hacks/piecewise.c
index 336dd5120e69d1a3afc6b8ef4d3679a43f886d18..af01a99d32aa2f5746c35356be54ef0c82893cec 100644
(file)
--- a/
hacks/piecewise.c
+++ b/
hacks/piecewise.c
@@
-940,6
+940,8
@@
static void
piecewise_reshape (Display *dpy, Window window, void *closure,
unsigned int w, unsigned int h)
{
+ struct state *st = (struct state *) closure;
+ XGetWindowAttributes(st->dpy, st->window, &st->xgwa);
}
static Bool