X11::XCB::Rect3pm
Represents a rectangle
Usage
my $rect = X11::XCB::Rect->new(x => 0, y => 0, width => 300, height => 400);
But in most cases, you should be able to coerce a rect from an arrayref:
my $window = $x->root->create_child(rect => [0, 0, 300, 300],class => WINDOW_CLASS_INPUT_OUTPUT,);
Releases
5 releases since Debian 9 (Stretch); the text changed 4 times.