"George \"Nephrite\" Potapov" <[EMAIL PROTECTED]> writes:

Hi George,
>
> DestroyFunc DecorOn
> AddToFunc   DecorOn
> + I State 1 off
> + I Style Borders, Title
>
> DestroyFunc DecorOff
> AddToFunc   DecorOff
> + I State 1 on
> + I Style !Borders, NoTitle
>
> DestroyFunc ToggleDecor
> AddToFunc ToggleDecor
> + I Current (State 1) DecorOff
> + I TestRc (NoMatch) DecorOn
>
Thanks again for your kindly help!
while looking in the man pages, I happen to find the 'toggle'
thing instead of True/False (or off/on as you used above)

So I summarized your system above in one function to something
like this:

,----
| DestroyFunc ToggleDecor
| AddToFunc ToggleDecor
| + I State 1 toggle
| + I Current (State 1) WindowStyle !Borders, NoTitle
| + I TestRc (NoMatch) WindowStyle Borders, Title
`----

,---- 
| Key D A 1 ToggleDecor
`----

What seems to work too.

Thanks and Greetings
marco



-- 
  calmar 
           (o_         GNU/Linux is GREAT      
           //\                 
           V_/_        http://www.calmar.ws 
                                          

--
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]

Reply via email to