On 2012-04-23 16:53, Lee Fallat wrote:
>
> 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?
> CWOverrideRedirect|CWColormap|CWEventMask,
You also ne
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 wrote:
> On Sun, Apr 22, 2012 at 11:01:21 -0400, Lee Fallat
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
Lee Fallat writes:
> Hello Xorg Mailing List,
> Lately I've been trying to create a window with XWindowCreate()
>using depth, class, and visual from a visual I obtain using
>XGetVisualInfo() (of course I parse the XVisualInfo[] for a single
>XVisualInfo). When X creates the
On 04/22/12 08:01 AM, Lee Fallat wrote:
>XVisualInfo *vlist = XGetVisualInfo(dpy, VisualDepthMask, &template, &nvi);
>
>for(int x = 0; x < nvi; x++)
>{
> if(vlist[x].depth == 32)
>dc.vinfo = &vlist[x];
>}
You don't seem to be handling the case where XGetVisualInfo do