Hi, On Thu, Feb 18, 2010 at 02:15:01PM +0530, Amit Pundir wrote: > 2010/2/18 Michel Dänzer <[email protected]>: > > 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
pgpMF3olxzhuD.pgp
Description: PGP signature
_______________________________________________ xorg-devel mailing list [email protected] http://lists.x.org/mailman/listinfo/xorg-devel
