From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,8888fd643f2807b2 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1991-08-23 08:49:58 PST Path: gmdzi!unido!mcsun!uunet!cs.utexas.edu!sun-barr!rutgers!spcvxb.spc.edu!terry From: terry@spcvxb.spc.edu (Terry Kennedy, Operations Mgr.) Newsgroups: comp.sys.dec Subject: Re: xloadimage problem Message-ID: <1991Aug23.041809.1761@spcvxb.spc.edu> Date: 23 Aug 91 04:18:09 GMT References: <1991Aug21.214814.15050@casbah.acns.nwu.edu> Organization: St. Peter's College, US In article <1991Aug21.214814.15050@casbah.acns.nwu.edu>, payman@casbah.acns.nwu.edu (Payman Parastaran) writes: > I have compiled and installed xloadimage 3.01 for our DECstation 5000. > Under DECwindows, when I type something like > > xloadimage -onroot orion.gif > > I get: > > orion.gif is a 566x463 GIF image with 256 colors > Compressing colormap...226 unique colors > xloadimage: X Error: BadWindow - parameter not a Window on 0x0 > XGetWindowAttributes on root failed. When I discussed this with the author of xloadimage, he replied: [begin included text] |4) -onroot doesn't work at all under VMS DECwindows. We'd corresponded about | this and you said (and the release notes also say) that this was fixed. I | get: | | X Error: Not a valid window ID on 0x8000b | XGetWindowAttributes on root failed The call to getDECRootWindow(disp, scrn) in root.c should be getDECRootWindow(disp, root). I've added that change for version 3.02 as well as stuff to make the getDECRootWindow() code much more robust. [end included text] Hopefully this change will fix the problem you're having. Terry Kennedy Operations Manager, Academic Computing terry@spcvxa.bitnet St. Peter's College, US terry@spcvxa.spc.edu (201) 915-9381