X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fkumppa.c;h=c444bd5fb3c36577665408e6114bc9d512af5c78;hb=88cfe534a698a0562e81345957a50714af1453bc;hp=a73fc94a0e19fc6f9ddd398dd8f86f60d9e460c0;hpb=49f5b54f312fe4ac2e9bc47581a72451bd0e8439;p=xscreensaver diff --git a/hacks/kumppa.c b/hacks/kumppa.c index a73fc94a..c444bd5f 100644 --- a/hacks/kumppa.c +++ b/hacks/kumppa.c @@ -49,11 +49,15 @@ from the X Consortium. static const char *kumppa_defaults [] ={ ".background: black", + "*fpsSolid: true", "*speed: 0.1", "*delay: 10000", "*random: True", /* leave this off by default, since it slows things down. -- jwz. */ "*useDBE: False", +#ifdef USE_IPHONE + "*ignoreRotation: True", +#endif 0 }; @@ -501,7 +505,7 @@ kumppa_reshape (Display *dpy, Window window, void *closure, { struct state *st = (struct state *) closure; st->sizx=w; - st->sizy=w; + st->sizy=h; st->midx=st->sizx>>1; st->midy=st->sizy>>1; st->stateX=0;