X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fwhirlygig.c;h=5ae36ed0e2c6f7c1ef43a6758361086f53258bcb;hp=e5eb9d554c251da78c72459142780bbd39af433c;hb=4ade52359b6eba3621566dac79793a33aa4c915f;hpb=ff35d056d723c9a5ffe728dbba5f1c25e141be04 diff --git a/hacks/whirlygig.c b/hacks/whirlygig.c index e5eb9d55..5ae36ed0 100644 --- a/hacks/whirlygig.c +++ b/hacks/whirlygig.c @@ -389,7 +389,9 @@ whirlygig_init (Display *dpy, Window window) { Bool writable_p = False; - make_uniform_colormap (st->dpy, st->xgwa.visual, st->xgwa.colormap, st->colors, &st->ncolors, True, &writable_p, True); + make_uniform_colormap (st->xgwa.screen, st->xgwa.visual, + st->xgwa.colormap, st->colors, &st->ncolors, + True, &writable_p, True); } if (st->ba) XFillRectangle (st->dpy, st->ba, st->bgc, 0, 0, st->xgwa.width, st->xgwa.height);