[Xcb] Predefined atoms

Rémi Denis-Courmont remi at remlab.net
Thu Oct 29 11:57:54 PDT 2009


	Hello,

I have been porting VLC media player to XCB for the last few months. Most 
things are now in place. Nevertheless, I was wondering what the recommended 
way to get "hard-coded" atom values is?

Currently, I'm using <X11/Xatom.h>. Unfortunately, this depends on the Atom 
type, which is part of Xlib (which I manually typedef to xcb_atom_t instead). 
Also, this requires the non-XCB x11-proto development package. This seems 
rather ugly to me. Is there a "better" method?

-- 
Rémi Denis-Courmont
http://www.remlab.net/


More information about the Xcb mailing list