[653] in SIPB bug reports

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

xscreensaver now works under mwm

daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Thu Aug 24 17:17:44 1989

Date: Thu, 24 Aug 89 17:13:52 -0400
From: Barr3y Jaspan <bjaspan@ATHENA.MIT.EDU>
To: sipb@ATHENA.MIT.EDU, bug-sipb@ATHENA.MIT.EDU, watchmakers@ATHENA.MIT.EDU,

As far as I can tell, I have fixed xscreensaver so that it works under
mwm.  I installed the program on /mit/sipb/{vax,rt}bin; not in mipsbin
because I don't know what other frobbing jtkohl did to make it work on
that machine.

I only made one change; I added an explicit XSetInputFocus() on the
floating icon so it can always see the keypress that signals it to pop
up the password-entering prompt.  I don't know if this is the "right
way" to fix the problem, but it works.  Specifically, here are the
lines I added (to savescreen.c):

#ifdef ICCCM
     XSetInputFocus(dpy, XtWindow(root_widget), RevertToPointerRoot,
		    CurrentTime);
#endif

I tested the program under uwm, mwm, and with no window manager.  It
behaved as expected (as it used to under uwm.)



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