26 unsigned int *width,
unsigned int *height)
31 sep = strchr(geometry,
':');
37 int mask = XParseGeometry(sep + 1,
x,
y, width, height);
41 if(mask & XNegative) {
50 if(mask & YNegative) {
65 return XParseGeometry(geometry,
x,
y, width, height);
bool RAreaIsValid(const RArea *self)
Is an RArea facially valid?
RArea RLayoutGetAreaByName(const RLayout *self, const char *name, int len)
Return the RArea in self with the name given by the string of length len at name.
RArea RLayoutBigArea(const RLayout *self)
Generate maximal spanning RArea.
A particular extent of space.
The layout of our display.
int RLayoutXParseGeometry(RLayout *layout, const char *geometry, int *x, int *y, unsigned int *width, unsigned int *height)
Parse an X Geometry out to get the positions and sizes.