[comp.windows.x] bitmaps and NoExpose events

gthomas@uw-june (Greg Thomas) (07/25/89)

I'm trying to display a bitmap in a window, using XCopyPlane.  The bitmap
never becomes visible, and a NoExpose event is generated for each call to
XCopyPlane.  I'm using X11R3 on a VAXstation 3200 running Ultrix 2.3.  Can
anyone tell me why this isn't working?  Here's the relevant code:

	#define circle_width 17
	#define circle_height 17
	static char circle_bits[] = { 0xc0, /* rest ommitted */ };

	bitmap = XCreateBitmapFromData(display, window, circle_bits,
		(unsigned int)circle_width, (unsigned int)circle_height);

	XCopyPlane(display, bitmap, window, DefaultGC(display, screen), 0, 0,
		(unsigned int)circle_width, (unsigned int)circle_height, 
		0, 0, (unsigned long)1);

When I create a pixmap (using XCreatePixmapFromBitmapData) from circle_bits,
it shows up fine after a call to XCopyArea (although a NoExpose event is still
generated).  Any help would be greatly appreciated ...

	greg
	(Please reply to: gthomas@cs.washington.edu)

rws@EXPO.LCS.MIT.EDU (07/25/89)

    I'm using X11R3 on a VAXstation 3200 running Ultrix 2.3.

The R3 QDSS server is horribly broken, CopyPlane is just one thing that doesn't
work (see the Xqdss man page).  We've basically given up trying to maintain it
here, it's too broken and the device is too complex.  Digital is aware of the
situation, but I give you no promises (either way) about what you can expect
for R4.  If you need those requests to work, you can try using Digital's product
server, or you can find another machine ...