Path: utzoo!attcan!uunet!samsung!know!sdd.hp.com!wuarchive!bcm!wilkins.iaims.bcm.tmc.edu!etaylor From: etaylor@wilkins.iaims.bcm.tmc.edu (Eric Taylor) Newsgroups: comp.windows.x Subject: Re: pixmap Keywords: X pixmap depth Message-ID: <2281@gazette.bcm.tmc.edu> Date: 18 Oct 90 17:06:49 GMT References: <921@babcock.cerc.wvu.wvnet.edu> Sender: usenet@bcm.tmc.edu Reply-To: etaylor@wilkins.iaims.bcm.tmc.edu (Eric Taylor) Lines: 19 Nntp-Posting-Host: wilkins.iaims.bcm.tmc.edu In article <921@babcock.cerc.wvu.wvnet.edu>, abmg@cathedral.cerc.wvu.wvnet.edu (Aliasghar Babadi) writes: |> |> should pixmap depth be equal to the root window depth ? |> what if workstation has two root windows with different depth. |> Thanks for your comments. |> |> A Pixmap's depth can be whatever its root supports. I am pretty sure that all X implementations accept pixmaps of depth 1 for use as BITMAPS. Since you have to tell a pixmap what its root window is, you simply have decide which root window you want to use. (presumably DefaultRootWindow(display)). -- Eric Taylor Baylor College of Medicine etaylor@wilkins.bmc.tmc.edu (713) 798-3776