You can change the Style of windows based of its name, class or resource
string, which can almost do the effect you are looking for....
example
AddToFunc FvwmShade
+ I WindowShade
+ I ThisWindow (Shaded) Style $[w.name] BorderWidth 0, HandleWidth 0
+ I ThisWindow (!Shaded) Style $[w.name] BorderWidth 5, HandleWidth 5
you can replace $[w.name] with $[w.class] or $[w.resource], and this
will make the shaded window have no border width, the downside to this
is it will affect all windows of that name, class or resources, which
may not be what ya want...
jaimos
On Thu, May 27, 2004 at 04:16:39PM -0400, Nicholas Paul Johnson wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello,
>
> I've revamped my .fvwm2rc as to make the borders big (and beautiful). My
> only issue is that when I shade the window, it looks kind of dumb. Is
> there any way to change the border/handle width settings of a window
> depending on whether or not it is shaded?
>
>
> On a similar note, I've been trying to get a titlebar double click to
> un/shade a window. Why doesn't this work:
>
> #-------------------------.fvwm2rc-
> DestroyFunc ShadeOnDblClick
> AddToFunc ShadeOnDblClick
> + "D" WindowShade
>
> Mouse 1 T A Function ShadeOnDblClick
> #----------------------------------
>
> thanks,
> - --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Nicholas Paul Johnson
> o nickjohnson \at\ virginia \dot\ edu
> o 3ebf10a7 subkeys.pgp.net
> o http://manjac.ath.cx/nick
> o "When all you've got is a hammer,
> everything looks like a nail.
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
> Comment: Made with pgp4pine 1.75-6
>
> iD8DBQFAtkyufnGNDj6/EKcRApTgAJ9RCHq/HpOZjWC+1o5k1zOpMewMggCeO/Dy
> gQVuZfG0HMZkDeFR50vDiew=
> =NZxf
> -----END PGP SIGNATURE-----
>
>
> --
> 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.
--
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 Thu May 27 2004 - 16:17:24 BST