Reference

XSetRegion(3x) on Linux

The text 424999b3d138, as Debian 3.0 (Woody) shipped it.

create or destroy regions

XSetRegion(3x) on Linux now