I'm trying to write an app to draw to the root window with Xlib (using C/C++). I can't find a good answer as to how to do this, so could somebody less search-impaired perhaps point me to such a place? Or perhaps provide a brief description/code sample?
Thanks.