[Xcb] Non-ARGB window in ARGB window
Peter Harris
pharris at opentext.com
Tue Jun 1 08:57:14 PDT 2010
On 2010-06-01 10:52, Rémi Denis-Courmont wrote:
> I may be abusing the mailing list as this is more an X11 protocol than XCB
> question, but... Is there any way to create a window with 24-bits depth (RGB)
> inside a window with 32-bits depth (ARGB)?
Yes. Just specify the visual you want (and make sure you also specify
depth, colormap, background pixel, border pixel, etc in your
CreateWindow request or you'll BadMatch as they all default to
"CopyFromParent").
Peter Harris
--
Open Text Connectivity Solutions Group
Peter Harris http://connectivity.opentext.com/
Research and Development Phone: +1 905 762 6001
pharris at opentext.com Toll Free: 1 877 359 4866
More information about the Xcb
mailing list