X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fqix.c;h=6e3e9aebe987ef5b747da1c8e2c62b4d0c285d5d;hb=d1ae2829ff0fd2a96c16a0c8c5420efaa47d7b30;hp=ad1e26e7a6ef951834ec60f72b8c2bb37d400f1c;hpb=c1b9b55ad8d59dc05ef55e316aebf5863e7dfa56;p=xscreensaver diff --git a/hacks/qix.c b/hacks/qix.c index ad1e26e7..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; @@ -592,6 +592,9 @@ static const char *qix_defaults [] = { "*transparent:true", "*gravity: false", "*additive: true", +#ifdef USE_IPHONE + "*ignoreRotation: True", +#endif 0 };