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;