X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fblitspin.c;h=1c5272537718321a6dc68c84d9206c324ef7ec12;hb=f65151994eba80ecabcdac6eef6fa0dde7e2d45b;hp=5b3cf8c14f4053a7738643eae0266ab2b6fd3bf6;hpb=0bd2eabab3e404c6769fe8f59b639275e960c415;p=xscreensaver diff --git a/hacks/blitspin.c b/hacks/blitspin.c index 5b3cf8c1..1c527253 100644 --- a/hacks/blitspin.c +++ b/hacks/blitspin.c @@ -1,4 +1,4 @@ -/* xscreensaver, Copyright (c) 1992-1997 Jamie Zawinski +/* xscreensaver, Copyright (c) 1992-1997 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 @@ -299,6 +299,7 @@ init (void) display (self); XSync(dpy, False); + screenhack_handle_events (dpy); } static void @@ -326,7 +327,8 @@ display (Pixmap pixmap) ((xgwa.width-size)>>1)-1, ((xgwa.height-size)>>1)-1, size+2, size+2); */ - XSync (dpy, True); + XSync (dpy, False); + screenhack_handle_events (dpy); } @@ -360,6 +362,7 @@ screenhack (Display *d, Window w) while (1) { rotate (); + screenhack_handle_events (d); if (delay2) usleep (delay2); } }