[Xcb] Window Positioning

Julien Danjou julien at danjou.info
Fri Aug 21 00:44:33 PDT 2009


At 1250818898 time_t, Matthew Allen wrote:
> A quick question...
> 
> I would like to center my dialogs on the screen... by default the WM puts them in the top left corner. Whats the "proper" way to do that?

Implements program_position as definied by ICCCM:
http://tronche.com/gui/x/icccm/sec-4.html#s-4.1.2.3

-- 
Julien Danjou
// ᐰ <julien at danjou.info>   http://julien.danjou.info
// 9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD
// Life is life. Lalalalala.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/xcb/attachments/20090821/1be71c09/attachment.pgp 


More information about the Xcb mailing list