16.5.5 Locating a Point or a Rectangle in a Region
To determine if a specified point resides in a specified region, use
XPointInRegion().
To determine if a specified rectangle is inside a region, use
XRectInRegion().
Christophe Tronche, ch@tronche.com