[12435] in Athena Bugs

home help back first fref pref prev next nref lref last post

decmips 7.7F: problem with xloadimage in graphics locker for images onroot

daemon@ATHENA.MIT.EDU (oliver thomas)
Thu Aug 18 17:52:57 1994

To: bugs@MIT.EDU
Date: Thu, 18 Aug 1994 17:52:51 EDT
From: oliver thomas <othomas@MIT.EDU>

System name:		navigator
Type and version:	KN02ba 7.7F
Display type:		PMAGB-BA

What were you trying to do?
	Place a GIF image in the background with 

		xloadimage -onroot filename.gif

What's wrong:
	The program bombs with the error:

	navigator> xloadimage -onroot owl.gif
	owl.gif is a 320x200 GIF87a image with 32 colors
	  Default gamma for IRGB image is  2.20
	  Compressing colormap...9 unique colors
	xli: X Error: BadWindow (invalid Window parameter) on 0x0
	XGetWindowAttributes on root failed.

	Note that the same image displays fine in a window. Seems to be a
	problem of writing to the root window.

What should have happened:
	Image should have displayed in root.

Please describe any relevant documentation references:
	xloadimage man page. Also see discuss transaction oxwindows [10184],
	where user reported problem to olc.

Thanks,

-oliver

home help back first fref pref prev next nref lref last post