/* 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
char *progclass = "Bubbles";
char *defaults [] = {
- "Bubbles.background: black",
- "*foreground: white",
+ ".background: black",
+ ".foreground: white",
"*simple: false",
"*broken: false",
"*delay: 800",
add_to_mesh(tmp);
insert_new_bubble(tmp);
- XSync (dpy, True);
+ XSync (dpy, False);
}
init_bubbles (dpy, window);
while (1) {
bubbles (dpy, window);
+ screenhack_handle_events (dpy);
if (delay)
usleep(delay);
}