X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fbarcode.c;h=d6592163f496492db7f104570cbcf0b2bf47bcbf;hp=7e15d0d4b01622348a533abc5f70156a50068e47;hb=6f5482d73adb0165c0130bb47d852644ab0c4869;hpb=c70f94f648d51bb4828193124f325fa52b0e57f3 diff --git a/hacks/barcode.c b/hacks/barcode.c index 7e15d0d4..d6592163 100644 --- a/hacks/barcode.c +++ b/hacks/barcode.c @@ -1898,6 +1898,9 @@ static void barcode_reshape (Display *dpy, Window window, void *closure, unsigned int w, unsigned int h) { + struct state *st = (struct state *) closure; + st->windowWidth = w; + st->windowHeight = h; } static void