[2364] in SIPB bug reports
xscreensaver
daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Mon Dec 23 10:54:24 1991
Date: Mon, 23 Dec 91 10:07:33 -0500
From: "Jonathan I. Kamens" <jik@pit-manager.MIT.EDU>
To: cyrus@Athena.MIT.EDU
Cc: bug-sipb@Athena.MIT.EDU
In-Reply-To: I'd like MY data-base JULIENNED and stir-fried!'s message of Wed, 04 Dec 91 18:33:56 EST <9112042334.AA23981@w20-575-101.MIT.EDU>
Date: Wed, 04 Dec 91 18:33:56 EST
From: I'd like MY data-base JULIENNED and stir-fried! <cyrus@Athena.MIT.EDU>
Two pieces of software I use are interacting incorrectly. One is sipb,
and one is my own (snarfed from the net). PS: I'm on a vax3100.
These are the symptoms. If there is no xscreensaver process running, my
program, xmartin, runs fine. When I run xscreensaver, I can create new
background screens. The first time I click on the screensaver, my
float-icon is on the right screen. When I unlock the screen, all is
fine. Now comes the weird part.
If, at this point, I generate a new fractal with xmartin, it does not
appear on my root screen. YET when I lock my screen NOW, the icon floats
around the screen I just generated. It is as if xscreensaver is
stealing the image before it is drawn on my root window. If I now run
xsetroot, xloadimage, etc.... they all behave normally. Xmartin is the
only program that has problems with xscreensaver.
Now I kill the xscreensaver process, and xmartin works correctly.
The source for xmartin is in /mit/bitbucket/xmartin.
Thanks,
- Cyrus Shaoul
cyrus@athena
I/S CSS Consultant
(I've included the entire message because by now, you might have
forgotten about sending it to me. :-)
The function pr_dwmroot in the xmartin sources is at fault. It
attempts to find the root window of the DEC Window Manager by walking
the window tree and assuming that the lowest level window that is
exactly the width and height of the screen is the root window. That
is a ridiculous assumption. It might be reasonable on machines that
are using DECWM, but it isn't reasonable here, so you might just want
to delete the pr_dwmroot function from xmartin.c and remove the call
to it as well.
jik