Need a reference to X protocol documentation for shapemask in transparent xpm

2013-10-28 Thread Michael Enke
Hi all, I want to know how transparent xpm's are exchanged between X Client and Server. What I've seen coming over the wire is: a: The picture rgb b: The shape mask c: The picture rgb again. 1: Wonder that the shape mask uses width / 2 bytes per row, means width * 4 bits per row even the shap

Re: Need a reference to X protocol documentation for shapemask in transparent xpm

2013-10-29 Thread Michael Enke
Hello Alan, thank you for your comment. I was playing with XServer for Android and created a patch to support "transparency" using the core protocol. Now the maintainer (and me too), before adding that patch, would like to know where to find this in the documentation. Searching the x11protocol.pdf