[PATCH v2 1/2] ephyr: allow starting window at other than 0, 0 location (via kdrive -origin option)

Keith Packard keithp at keithp.com
Sat May 3 10:02:46 PDT 2014


Laércio de Sousa <lbsousajr at gmail.com> writes:

> OK. One last question: for negative values, should it support WxH-X-Y
> syntax (harder to implement) or just WxH+-X+-Y syntax (easier to
> implement)?

You should use XParseGeometry or even XWMGeometry. If you want to avoid
Xlib, you should hack those functions into something that could be
included in an xcb utility library (probably util-wm).

I couldn't find anything suitable in xcb yet, but I didn't do more than
a few simple greps; maybe there's already something to do this?

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20140503/7717b287/attachment.sig>


More information about the xorg-devel mailing list