"*cycles: 10",
"*ncolors: 64", /* changing this doesn't work particularly well */
"*delay: 10000",
+#ifdef USE_IPHONE
+ "*ignoreRotation: True",
+#endif
0
};
{
XGCValues gcValues;
XWindowAttributes XWinAttribs;
- int iBitsPerPixel;
+ /*int iBitsPerPixel;*/
/* Create the Image for drawing */
XGetWindowAttributes( st->dpy, st->window, &XWinAttribs );
- /* Find the preferred bits-per-pixel. (jwz) */
+#if 0
+ /* Find the preferred bits-per-pixel. (jwz) */
{
int i, pfvc = 0;
XPixmapFormatValues *pfv = XListPixmapFormats( st->dpy, &pfvc );
if( pfv )
XFree (pfv);
}
+#endif
/* Create the GC. */
st->gc = XCreateGC( st->dpy, st->window, 0, &gcValues );