X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fblitspin.c;h=d00a9e2aa9e8db2a7b204dcb769773da6d6caec0;hp=83f9bd4c8e5a29682ab0525be2c32cc9448a67c4;hb=6afd6db0ae9396cd7ff897ade597cd5483f49b0e;hpb=dba664f31aa87285db4d76cf8c5e66335299703a diff --git a/hacks/blitspin.c b/hacks/blitspin.c index 83f9bd4c..d00a9e2a 100644 --- a/hacks/blitspin.c +++ b/hacks/blitspin.c @@ -1,4 +1,4 @@ -/* xscreensaver, Copyright (c) 1992-2012 Jamie Zawinski +/* xscreensaver, Copyright (c) 1992-2014 Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -398,6 +398,12 @@ blitspin_reshape (Display *dpy, Window window, void *closure, static Bool blitspin_event (Display *dpy, Window window, void *closure, XEvent *event) { + struct state *st = (struct state *) closure; + if (screenhack_event_helper (dpy, window, event)) + { + st->start_time = 0; + return True; + } return False; } @@ -415,7 +421,7 @@ static const char *blitspin_defaults [] = { "*delay2: 500000", "*duration: 120", "*bitmap: (default)", - "*geometry: 512x512", + "*geometry: 1080x1080", #ifdef USE_IPHONE "*ignoreRotation: True", #endif