X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fbubbles.c;h=913fe03726df2c676d19b80902dfd24cbdb2a5db;hb=14463b6ad1ab1ccf81f9c33350b048e410ba94cb;hp=4946aeefde273ff2a7beb79a45eff9f87db9ed79;hpb=0bd2eabab3e404c6769fe8f59b639275e960c415;p=xscreensaver diff --git a/hacks/bubbles.c b/hacks/bubbles.c index 4946aeef..913fe037 100644 --- a/hacks/bubbles.c +++ b/hacks/bubbles.c @@ -1,6 +1,6 @@ /* bubbles.c - frying pan / soft drink in a glass simulation */ -/*$Id: bubbles.c,v 1.14 1998/06/04 22:55:09 jwz Exp $*/ +/*$Id: bubbles.c,v 1.16 1998/11/19 07:25:01 jwz Exp $*/ /* * Copyright (C) 1995-1996 James Macnicol @@ -1302,7 +1302,7 @@ bubbles (Display *dpy, Window window) add_to_mesh(tmp); insert_new_bubble(tmp); - XSync (dpy, True); + XSync (dpy, False); } @@ -1312,6 +1312,7 @@ screenhack (Display *dpy, Window window) init_bubbles (dpy, window); while (1) { bubbles (dpy, window); + screenhack_handle_events (dpy); if (delay) usleep(delay); }