-/* xscreensaver, Copyright (c) 2005-2012 Jamie Zawinski <jwz@jwz.org>
+/* xscreensaver, Copyright (c) 2005-2013 Jamie Zawinski <jwz@jwz.org>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
st->color_horiz_p = random() & 1;
if (st->done_once && st->colors)
- free_colors (st->dpy, st->xgwa.colormap, st->colors, st->ncolors);
+ free_colors (st->xgwa.screen, st->xgwa.colormap, st->colors, st->ncolors);
if (!st->done_once)
{
{
st->ncolors = get_integer_resource (st->dpy, "colors", "Colors"); /* re-get */
if (st->ncolors < 1) st->ncolors = 1;
- make_smooth_colormap (st->dpy, st->xgwa.visual, st->xgwa.colormap,
+ make_smooth_colormap (st->xgwa.screen, st->xgwa.visual, st->xgwa.colormap,
st->colors, &st->ncolors, True, 0, False);
if (st->ncolors < 1) abort();
XClearWindow (st->dpy, st->window);
"*peek: False",
"*grabDesktopImages: False", /* HAVE_COCOA */
"*chooseRandomImages: True", /* HAVE_COCOA */
+#ifdef USE_IPHONE
+ "*ignoreRotation: True",
+#endif
0
};