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

Michael Enke michael.enke at wincor-nixdorf.com
Mon Oct 28 11:24:31 CET 2013


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 shapemask information is stored only in width * 1 bits per
row and the rest is discarded.
2: Why the rgb is transferred twice (a-b-c) and not only b-c or a-b?

Where I can find this in the protocol or library specifications?

Thank you,
Michael

WINCOR NIXDORF International GmbH
Sitz der Gesellschaft: Paderborn
Registergericht Paderborn HRB 3507
Geschäftsführer: Eckard Heidloff (Vorsitzender), Dr. Jürgen Wunram (stellv. Vors.), Jens Bohlen, Olaf Heyden
Vorsitzender des Aufsichtsrats: Dr. Alexander Dibelius
Steuernummer: 339/5884/0020 - Ust-ID Nr.: DE812927716 - WEEE-Reg.-Nr. DE44477193

Diese E-Mail enthält vertrauliche Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben,
informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.

This e-mail may contain confidential information.
If you are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail.
Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.


More information about the xorg mailing list