reparenting and ARGB visuals

Keith Packard keithp at keithp.com
Wed Jan 19 13:27:04 PST 2005


Around 22 o'clock on Jan 19, Olivier Fourdan wrote:

> What I'm trying to achieve is to create the WM frame using the
> attributes for visual and depth as the client's. This way, an ARGB
> window would be reparented in another ARGB window of the same depth and
> visual.

That's what metacity does.

> Problem is that the XReparentWindow() fails if I create the top level
> window using the same visual/depth as the client window.

Which error?  And, debugging the X server can let you know why it failed 
quickly.

-keith


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20050119/73c6f2b1/attachment.pgp>


More information about the xorg mailing list