xshape/xcomposite development question

Carl Worth cworth at cworth.org
Sat Jan 14 10:26:47 PST 2006


On Sat, 14 Jan 2006 17:13:20 +0000 (GMT), chinlu chinawa wrote:

> >1. An X server that supports the Composite extension
> >
> >2. A compositing manager running to blend the windows
> (which may be part of the window manager)
> >
> >3. A window manager that provides proper support for
> windows with ARGB visuals.
> >
> >4. An application that achieves the desired effect by
> selecting an ARGB visual and rendering the desired shape into
> the alpha channel.
...
> http://www.geocities.com/ucho_trabajo/xcomp/shot_ok.png

Cool, so things are working without a window manager running. So that
looks like (1), (2), and (4) are in place fine.

> http://www.geocities.com/ucho_trabajo/xcomp/shot_wrong.png

So, here it looks like (3) is still the problem. I'm guessing that
your window manager is reparenting your window with its ARGB visual
into a new window that does not have an ARGB visual. So that's what
would need to be changed.

If there's something else that needs to be changed in the window
manager, I don't know what it is, but I'd be glad to learn.

There are lots of window managers that have been fixed to do the
"right thing", (whatever it is), so there should be plenty of example
code around.

Good luck,

-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20060114/6d11b073/attachment.pgp>


More information about the xorg mailing list