st->pgc = XCreateGC(st->dpy, st->image, GCFunction, &gcv);
}
+ if (! st->nthreshes) return;
+
+
/* If duration2 has expired, switch to the next threshold. */
if (! st->button_down_p)
0, 0, st->delta->width, st->delta->height,
(st->xgwa.width - st->delta->width) / 2,
(st->xgwa.height - st->delta->height) / 2);
+ else if (!st->nthreshes)
+ XCopyArea (st->dpy,
+ st->image,
+ st->window, st->wgc,
+ 0, 0, st->xgwa.width, st->xgwa.height,
+ 0,
+ 0);
+
DONE:
return st->delay;