Martin Cartwright wrote:
>
> if STICKY:
> Stick
> ChangeDecor "Default"
> else
> Stick
> ChangeDecor "stickydecor"
> endif
Add these lines to your .fvwm2rc file:
#########################################################
DestroyFunc SwitchDecor
AddToFunc SwitchDecor
+ "I" StickyDecor
DestroyFunc StickyDecor
AddToFunc StickyDecor
+ "I" ChangeDecor "Sticky"
+ "I" DestroyFunc SwitchDecor
+ "I" AddToFunct SwitchDecor "I" DefaultDecor
DestroyFunc DefaultDecor
AddToFun DefaultDecor
+ "I" ChangeDecor "Default"
+ "I" DestroyFunc SwitchDecor
+ "I" AddToFunct SwitchDecor "I" StickyDecor
ChangeDecor "Default"
#########################################################
When you want to toggle from one to another, just execute SwitchDecor.
--
(void) lar3ry(); gensch_at_zk3.dec.com
"Sometimes it happens. People just explode. Natural causes."
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Fri Jan 17 1997 - 11:47:04 GMT