[comp.windows.x] ZPixmap, XListPixmapFormat and QDSS

moore@DALE.FAC.CS.CMU.EDU (Dale Moore) (09/11/90)

Short Version:

The Xqdss server won't accept ZPixmaps of depth 1 even though
XListPixmapFormats says it will.

Long Version:

The server/ddx/dec/qdss/qd.h server says ...

	There is only one representation for depth 1 pixmaps (bitmaps).

Also, the Xqdss server does not like images with depth 1 and format of
ZPixmap.  But if we set the format to XYBitmap, everything works fine.
This is sort-of-reasonable.

The documentation for XListPixmapFormats says

	The XListPixmapFormats function returns an array of
	XPixmapFormatValues structures that describe the types of
	Z format images that are supported by the specified display.

I assume that 'Z format Images' means images with a format value of 'ZPixmap'.
The X11R4 Protocol spec is not as quite straight forward.  But it does
not contradict the Xlib documentation.

I suspect that other servers accept ZPixmaps of depth 1.

Am I misreading the documentation?  Or is the Xqdss server wrong?
Does anyone want to help me modify the Xqdss sources to accept
ZPixmaps of depth 1?

Dale Moore
Senior Research Systems Programmer
Carnegie Mellon University
Pittsburgh PA 15213
412-268-7685