[Xcb] [PATCH] Fill in some TODO bits for CreateWindow & InternAtom

Alan Coopersmith alan.coopersmith at oracle.com
Wed Nov 30 15:32:10 PST 2011


On 11/29/11 21:57, Alan Coopersmith wrote:
>         <field name="BackPixel"><![CDATA[
>   Overrides `BackPixmap`. A pixmap of undefined size filled with the specified
>   background pixel is used for the background. Range-checking is not performed,
>   the background pixel is truncated to the appropriate number of bits.
> -
> -TODO: can xcb_none be used here?
>         ]]></field>

BTW, the reason I deleted the TODO is the answer is no - xcb_none, aka 0,
would simply be black in most visuals (RGB 0x000000 or greyscale 0) or
colormap index 0 in PsuedoColor (which is probably either black or white).
It only has special meaning as a pixmap id, not a color value.

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the Xcb mailing list