<p dir="ltr"><br>
Em 03/05/2014 14:02, "Keith Packard" <<a href="mailto:keithp@keithp.com">keithp@keithp.com</a>> escreveu:<br>
> You should use XParseGeometry or even XWMGeometry. If you want to avoid<br>
> Xlib, you should hack those functions into something that could be<br>
> included in an xcb utility library (probably util-wm).<br>
><br>
> I couldn't find anything suitable in xcb yet, but I didn't do more than<br>
> a few simple greps; maybe there's already something to do this?</p>
<p dir="ltr">Kdrive has its own "geometry" parsing algorithm, the function KdParseScreen() in file kdrive.c. I've extended it to include +X+Y parsing. See my previous patch at <a href="http://lists.x.org/archives/xorg-devel/2014-February/040606.html">http://lists.x.org/archives/xorg-devel/2014-February/040606.html</a></p>
<p dir="ltr">This patch supports -X-Y syntax, but I could simplify it by supporting +-X+-Y only, so that the character + can be interpreted as the only delimiter for window placement.</p>