On 09/24/2010 02:25 PM, Clemens Eisserer <[email protected]> wrote:
> My attemp tried to find a 32-bit visual, and pass that to
> XCreateWindow:
>
> XVisualInfo info;
> int cnt;
> XVisualInfo *visInfos = XGetVisualInfo(display, 0, NULL, &cnt);
info.screen = XDefaultScreen (display);
info.depth = 32;
visInfos = XGetVisualInfo (display,
VisualScreenMask | VisualDepthMask,
&info, &cnt);
_______________________________________________
[email protected]: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: [email protected]