if (0) fprintf(stderr, "add_region_xdamage: prev_tick: %d reg %p\n", prev_tick, reg);
if (0) fprintf(stderr, "add_region_xdamage: prev_tick: %d reg %p\n", prev_tick, (void *)reg);
void add_region_xdamage(sraRegionPtr new_region) {	sraRegionPtr reg;	int prev_tick, nreg;	if (! xdamage_regions) {		return;	}	nreg = (xdamage_memory * NSCAN) + 1;	prev_tick = xdamage_ticker - 1;	if (prev_tick < 0) {		prev_tick = nreg - 1;	}	reg = xdamage_regions[prev_tick];  	if (reg != NULL) {if (0) fprintf(stderr, "add_region_xdamage: prev_tick: %d reg %p\n", prev_tick, reg);		sraRgnOr(reg, new_region);	}}