XLib Help : RGBA Visual and Window Creation

Lee Fallat ircsurfer33 at gmail.com
Mon Apr 23 13:53:18 PDT 2012


In fact, that was one problem, but now I am getting a Bad Match "Invalid
Parameters" error. Same code with dc.vinfo->class changed to
InputOutput/CopyFromParent. Any suggestions for that?

On Mon, Apr 23, 2012 at 2:44 PM, Julien Cristau <jcristau at debian.org> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20120423/368b19e5/attachment.html>


More information about the xorg mailing list