Hi,
> 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.
Setting a new ColorMap as well as a BorderPixmap helped
On 09/24/2010 02:25 PM, Clemens Eisserer 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
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 h
On Fri, Sep 24, 2010 at 05:25:05AM -0700, Clemens Eisserer wrote:
> Hi,
>
> I would like to create a Window with ARGB32-visual to reproduce a bug
> I experience
> with shaped ARGB32 windows when not using a composition manager,
> however I always get a BadMatch error.
>
> My attemp tried to find
Hi,
I would like to create a Window with ARGB32-visual to reproduce a bug
I experience
with shaped ARGB32 windows when not using a composition manager,
however I always get a BadMatch error.
My attemp tried to find a 32-bit visual, and pass that to XCreateWindow:
XVisualInfo info;
int cnt;
XVisu