Show a colour X Window Pixmap in the root window's background <p>I have a got a colour X PixMap file, GCC compiler, a working X server on a display and a very simple task: show an XPM file in colour by a C/C++ program via the X Server running on a display.</p> <p>I have googled a lot and my brain is completely broken. No information about XCreatePixmapFromData. I can't get in the xloadimage sources. But putting a 1-bit depth bitmat is successfull and I want such an easy solution for a colour pixmap.</p> <p>Teh pixmap is ordinary and here it is, for example, I just wanna show that it has almost the same structure as an X BitMap file (an array of constant chars) and can be included in the C/C++ program... <a href="http://pastebin.com/b5QTrDTH" rel="nofollow">http://pastebin.com/b5QTrDTH</a></p> <p>A simple code example drawing a colour pixmap would be great.</p> <p>That should be easy, please help! P. S. sorry, that's my first stackoverflow question.</p>