On 26 Mar 2002 14:53:00 +0100, Dominik Vogt wrote:
>
> On Tue, Mar 26, 2002 at 01:26:14PM +0000, Richard Curnow wrote:
> > I'd like to make FvwmIconMan and FvwmButtons be raised if the mouse goes over
> > them, and lowered when the mouse leaves them. My current attempt looks like
> >
> > Module FvwmAuto 250 "Silent AutoRaiseFunction" "Silent AutoLowerFunction"
> >
> > DestroyFunc AutoRaiseFunction
> > AddToFunc AutoRaiseFunction
> > + I Current (FvwmIconMan) Raise
> > + I Current (FvwmButtons) Raise
> >
> > DestroyFunc AutoLowerFunction
> > AddToFunc AutoLowerFunction
> > + I Current (FvwmIconMan) Lower
> > + I Current (FvwmButtons) Lower
> >
> > , but this doesn't work.
>
> Well, of course not. You want to lower the modules if the current
> window is *not* one of them. Try this:
>
> DestroyFunc AutoLowerFunction
> AddToFunc AutoLowerFunction
> + I Current (!FvwmIconMan) All (FvwmIconMan) Lower
> + I Current (!FvwmButtons) All (FvwmButtons) Lower
I think this gives even better results, depending on needs:
Module FvwmAuto 250 "Silent AutoRaiseLowerFunction"
DestroyFunc AutoRaiseLowerFunction
AddToFunc AutoRaiseLowerFunction
+ I Current (FvwmIconMan) Raise
+ I Current (FvwmButtons) Raise
+ I Current (!FvwmIconMan) All (FvwmIconMan) Lower
+ I Current (!FvwmButtons) All (FvwmButtons) Lower
Regards,
Mikhael.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Tue Mar 26 2002 - 08:19:41 GMT