noob's question alert: argb visual not found
Daniel Stone
daniel at fooishbar.org
Thu Feb 18 07:19:57 PST 2010
Hi,
On Thu, Feb 18, 2010 at 02:15:01PM +0530, Amit Pundir wrote:
> 2010/2/18 Michel Dänzer <michel at daenzer.net>:
> > As I pointed out to you on IRC, you can't use CopyFromParent for the
> > window depth/visual because you want to use a different depth/visual
> > than the root window's. Why did you post here without at least fixing
> > that?
> >
> > After you left, Daniel Stone mentioned there being more questionable
> > things about the code, but I haven't looked beyond the above.
>
> I didn't use the root window attributes this time and it worked. Thanks.
>
> Do we maintain the IRC log for #xorg-devel channel so that I can look
> into Daniel Stone's suggestions? A quick google search didn't give me
> any information.
From what I remember, it looks like the code was randomly copy and
pasted from possibly several places: you claimed in the flags to be
setting many attributes, but most of the WindowAttributes structure was
uninitialised garbage. Certainly BackPixel wasn't initialised, you were
forcing the colourmap to be zero, etc.
Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-devel/attachments/20100218/59b3ff24/attachment.pgp
More information about the xorg-devel
mailing list