From http://www.jwz.org/xscreensaver/xscreensaver-5.16.tar.gz
[xscreensaver] / hacks / analogtv.c
index 63368f5f73f5509ed31a8f26ca0c649c78b5d63f..1ff995d2ccef12ac4f2f52cb5abc860cce45418b 100644 (file)
@@ -304,6 +304,12 @@ analogtv_configure(analogtv *it)
   wlim = it->xgwa.width;
   ratio = wlim / (float) hlim;
 
+#ifdef USE_IPHONE
+  /* Fill the whole iPhone screen, even though that distorts the image. */
+  min_ratio = 320.0 / 480.0 * (1 - percent);
+  max_ratio = 480.0 / 320.0 * (1 + percent);
+#endif
+
   if (wlim < 266 || hlim < 200)
     {
       wlim = 266;