[comp.windows.x] xroach problems.

simon@opal.CS.TU-Berlin.DE (Simon Leinen) (03/27/91)

>>>>> On 27 Mar 91 06:07:14 GMT, simonm@mel.dit.csiro.au (Simon
>>>>> McClenahan) said:

SimonM> I can't help you, but I manage to compile it, and it just
SimonM> plain doesn't work!

Do you use tvtwm? Then the ordinary root window (on which the
cockroaches run around) will be covered by the virtual desktop window.
You have to #include "vroot.h" in the `xroach.c' file *after*
<Xlib.h>.  The file `vroot.h' redefines two preprocessor macros
`RootWindow' and `DefaultRootWindow' to do the right thing in the
presence of a virtual desktop.  It was written by Andreas Stolcke of
ICSI and can be FTPed from export.lcs.mit.edu, File /contrib/vroot.h.

SimonM> Does it work with a monochrome monitor?

Yes, it does.
-- 
Simon.