On Fri, Sep 24, 2010 at 14:25:05 +0200, Clemens Eisserer wrote:

> XCreateWindow(display, root, 0, 0, 200, 200, 0, 32, InputOutput,
> info.visual,  0, NULL);
> 
> Any idea whats wrong here?
> 
The default border-pixmap and colormap are CopyFromParent.  That won't
fly if your window and its parent have different depths/visuals.  That's
pretty clearly explained in the protocol spec's description of
CreateWindow, AFAICT.

Cheers,
Julien
_______________________________________________
[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]

Reply via email to