X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fpiecewise.c;h=af01a99d32aa2f5746c35356be54ef0c82893cec;hp=336dd5120e69d1a3afc6b8ef4d3679a43f886d18;hb=6f5482d73adb0165c0130bb47d852644ab0c4869;hpb=c70f94f648d51bb4828193124f325fa52b0e57f3 diff --git a/hacks/piecewise.c b/hacks/piecewise.c index 336dd512..af01a99d 100644 --- 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