#define sz_xXFixesCreateRegionReq 8
*/
public int X11FixesCreateRegion (Rectangle[] rect, int nrrect) {
int region = display.allocate_id(this);
Request request = new Request (display, major_opcode, 5,2 + (nrrect<<2));
request.write4 (region);
if(rect != null)
{
for(int i=0; i < nrrect; i++)
{
request.write2 (rect[i].x);
request.write2 (rect[i].y);
request.write2 (rect[i].width);
request.write2 (rect[i].height);
}
}
display.send_request (request);
return region;
}