heping@kuhub.cc.ukans.edu (01/31/90)
I tried to XCreateWindow with the depth different from that of its parent, but failed. It worked O.K. as long as I changed the depth to that of its parent. What's the problem? Can someone help? Thanks. Phil
converse@EXPO.LCS.MIT.EDU (Donna Converse) (02/03/90)
> I tried to XCreateWindow with the depth different from that of its parent, but > failed. It worked O.K. as long as I changed the depth to that of its parent. > What's the problem? The problem could be that the given depth is not supported for the screen. Run the client program xdpyinfo on the display; under the per-screen information it will tell you which depths are supported on each screen. converse@expo.lcs.mit.edu
stroyan@hpfcso.HP.COM (Mike Stroyan) (02/06/90)
> I tried to XCreateWindow with the depth different from that of its parent, but > failed. It worked O.K. as long as I changed the depth to that of its parent. > What's the problem? Make sure that the window does not inherit any depth dependent attributes from its parent window. That includes- background_pixmap border_pixmap colormap visual Mike Stroyan, stroyan@hpfcla.hp.com