Re: FVWM: decorations

From: Dan Espen <dane_at_mk.bellcore.com>
Date: Fri, 30 Jan 1998 15:08:18 -0500

Graeme.McCaffery_at_astro.cf.ac.uk (Graeme McCaffery) writes:
> Hello to all
>
> I've been experimenting with decors. I now have 3 very sightly
> different styles. obviously I would like all the common stuff
> to only be written once.
>
> I tried to add to decor default but the other decors don't pick
> this up and instead used some other (inexplicable) defaults.
>
> does anyone know how to do this, or does the code need changing.
>
> I'm using Fvwm Version 2.0.46

I haven't tested this, but wouldn't something like this work?

AddToFunc DefaultDecor "I" DestroyDecor $0
+ "I" AddToDecor $0 WindowFont -adobe-helvetica-bold-r-*-120-*
+ "I" AddToDecor $0 HilightColor white grey60
...

Function DefaultDecor FirstDecor
AddToDecor FirstDecor ButtonStyle ....

Function DefaultDecor SecondDecor
AddToDecor SecondDecor ButtonStyle ....

> thanks
> Graeme
> --

--
Dan Espen                                Phone: (732) 699-5570
444 Hoes Lane  Room RRC 1C-214           E-mail: dane_at_mk.bellcore.com
Piscataway, NJ 08854
--
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 30 1998 - 14:09:32 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:01 BST