[Xcb] xcb_get_property use

Julien Danjou julien at danjou.info
Mon Oct 26 07:39:52 PDT 2009


At 1256565230 time_t, Michele Comignano wrote:
>         cookie = xcb_get_property(d->conn,
>                 0, d->screen->root,
>                 atom,
>                 0L, // is it good ?? i've seen AnyPropertyType in the Xlib 
> says 0L
>                 0, sizeof (xcb_pixmap_t)
>                 );

In awesome, we use something like:
xcb_get_property(d->conn, 0, d->screen->root, atom, PIXMAP, 0, 1);

PIXMAP being xcb_atom_get(d->conn, "PIXMAP") or PIXMAP if you use
xcb_atom from xcb-util, if I'm correct.

-- 
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: 198 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/xcb/attachments/20091026/1f488d53/attachment.pgp 


More information about the Xcb mailing list