X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=hacks%2Fqix.c;fp=hacks%2Fqix.c;h=6e3e9aebe987ef5b747da1c8e2c62b4d0c285d5d;hb=d1ae2829ff0fd2a96c16a0c8c5420efaa47d7b30;hp=04d0928009e09471495460f6e9218c3558180a6c;hpb=7edd66e6bd3209013ee059819747b10b5835635b;p=xscreensaver diff --git a/hacks/qix.c b/hacks/qix.c index 04d09280..6e3e9aeb 100644 --- a/hacks/qix.c +++ b/hacks/qix.c @@ -475,7 +475,7 @@ add_qline (struct state *st, { /* give a non-opaque alpha to the color */ unsigned long pixel = qline->color.pixel; - unsigned long amask = BlackPixelOfScreen (0); + unsigned long amask = BlackPixel (st->dpy, 0); unsigned long a = (0xBBBBBBBB & amask); pixel = (pixel & (~amask)) | a; qline->color.pixel = pixel;