X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fifs.c;h=d1f789c9869d5547db6221ae1c1363fb090f467c;hb=3f1091236d800c43a3124c44c7da54e53f205b13;hp=099b0d1c8c265282c2162ab0bffeaba0374e419f;hpb=c1b9b55ad8d59dc05ef55e316aebf5863e7dfa56;p=xscreensaver diff --git a/hacks/ifs.c b/hacks/ifs.c index 099b0d1c..d1f789c9 100644 --- a/hacks/ifs.c +++ b/hacks/ifs.c @@ -106,6 +106,9 @@ static const char *ifs_defaults [] = { "*doubleBuffer: False", #else "*doubleBuffer: True", +#endif +#ifdef USE_IPHONE + "*ignoreRotation: True", #endif 0 }; @@ -435,7 +438,7 @@ ifs_init (Display *d_arg, Window w_arg) if (st->colours) free(st->colours); st->colours = (XColor *)calloc(st->ncolours, sizeof(XColor)); if (!st->colours) exit(1); - make_smooth_colormap (st->dpy, xgwa.visual, xgwa.colormap, + make_smooth_colormap (xgwa.screen, xgwa.visual, xgwa.colormap, st->colours, &st->ncolours, True, 0, False);