XLib Help : RGBA Visual and Window Creation

Julien Cristau jcristau at debian.org
Mon Apr 23 11:44:11 PDT 2012


On Sun, Apr 22, 2012 at 11:01:21 -0400, Lee Fallat wrote:

>      m->barwin = XCreateWindow(dpy, root, m->wx, m->by, m->ww, bh, 0,
> dc.vinfo->depth,
>                                dc.vinfo->class, dc.vinfo->visual,
>                                CWOverrideRedirect|CWColormap|CWEventMask,
> &wa);
> 
I think this was cleared up on IRC, but for the record, the issue was
using dc.vinfo->class instead of InputOutput as the class argument of
XCreateWindow, AIUI.

Cheers,
Julien



More information about the xorg mailing list