-/* xscreensaver, Copyright (c) 1992-2008 Jamie Zawinski <jwz@jwz.org>
+/* xscreensaver, Copyright (c) 1992-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
XClearWindow (st->dpy, st->window);
XCopyArea (st->dpy, st->saved, st->window, st->gc,
0, 0, st->saved_w, st->saved_h,
- (w - st->saved_w) / 2,
- (h - st->saved_h) / 2);
+ ((int)w - st->saved_w) / 2,
+ ((int)h - st->saved_h) / 2);
st->sizex = w;
st->sizey = h;
}
"*delay: 10000",
"*mode: random",
"*duration: 120",
+#ifdef USE_IPHONE
+ "*ignoreRotation: True",
+#endif
0
};