Re: FVWM: Auto raise/lower particular window

From: Dominik Vogt <fvwm_at_fvwm.org>
Date: Tue, 26 Mar 2002 14:53:00 +0100

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

Bye

Dominik ^_^ ^_^

-- 
Dominik Vogt, email: d.vogt_at_lifebits.de
LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen
fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20
--
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 - 07:53:34 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:52 BST