🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #37860

BadMatch error in XCreateWindow

#37860
From: bobtl
Date: Thu, 08 Mar 1990 23:22
15 lines
1179 bytes
I received this error when attempting to create a window with a depth
different from the parent.  When I looked at the dix server code,
I found that the error was generated because I was inheriting the
border pixmap from the parent, even though the pixmap was not used -
the border width was 0.  Specifying a border pixel in the window
attribute structure fixed the problem.

I am guessing that this error is checked because the width can change later?
And that it is illegal to image a pixmap into a window if they have different
depths?

Does this apply to the window background as well?

I did not find anything about this problem in the error discussion in
the paragraphs describing XCreateWindow.  Is this spelled out anywhere?
Technical Details
Message-ID: <6372@orca.wv.tek.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!ogicse!zephyr.ens.tek.com!orca.wv.tek.com!toolbox.WV.TEK.COM!bobtl

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!ogicse!zephyr.ens.tek.com!orca.wv.tek.com!toolbox.WV.TEK.COM!bobtl
From: bobtl@toolbox.WV.TEK.COM
Newsgroups: comp.windows.x
Subject: BadMatch error in XCreateWindow
Message-ID: <6372@orca.wv.tek.com>
Date: 8 Mar 90 23:22:19 GMT
Sender: nobody@orca.wv.tek.com
Reply-To: bobtl@toolbox.WV.TEK.COM ()
Organization: Tektronix, Inc., Wilsonville, OR
Lines: 15