On 06 Aug 2003 08:30:27 +0200, Uwe Pross wrote: > > You may try the following at your box to see the effect: > > DestroyFunc AutoShadeOn > AddToFunc AutoShadeOn I WindowId $0 WindowShade True > DestroyFunc AutoShadeOff > AddToFunc AutoShadeOff I WindowId $0 WindowShade False > Module FvwmAuto 0 -passid "Silent AutoShadeOff" "Silent AutoShadeOn" > > which should work with 2.4.16.
Actually, the passid options are never really needed in FvwmEvent and FvwmAuto. Here is the same code, but shorter and clearer: DestroyFunc AutoShadeOn AddToFunc AutoShadeOn I WindowShade True DestroyFunc AutoShadeOff AddToFunc AutoShadeOff I WindowShade False Module FvwmAuto 0 "Silent AutoShadeOff" "Silent AutoShadeOn" If you need a condition, you may use ThisWindow instead of "WindowId $0". 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 [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
