/* xscreensaver, Copyright (c) 1992, 1993, 1994, 1996, 1997
- * Jamie Zawinski <jwz@netscape.com>
+ * Jamie Zawinski <jwz@jwz.org>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
if (delay < 0) delay = 0;
+ XGetWindowAttributes (dpy, window, &xgwa);
+
gcv.function = GXcopy;
gcv.subwindow_mode = IncludeInferiors;
gcflags = GCForeground |GCFunction;
gcflags |= GCSubwindowMode;
gc = XCreateGC (dpy, window, gcflags, &gcv);
- XGetWindowAttributes (dpy, window, &xgwa);
sizex = xgwa.width;
sizey = xgwa.height;
for (i = 0; i < 100; i++)
decay1 (dpy, window);
XSync(dpy, False);
+ screenhack_handle_events (dpy);
if (delay) usleep (delay);
}
}