In your mail:
>From: Mikhael Goikhman <[EMAIL PROTECTED]>
>Reply-To: 
>To: [EMAIL PROTECTED]
>Subject: Re: FVWM: Variable `$n' not found in fvwm manpage
>
>On 07 Jun 2004 20:40:08 +0800, [EMAIL PROTECTED] wrote:
> > 
> > Hi, everyone
> > Here is a function Michael wrote in thread:
> > http://www.hpc.uh.edu/fvwm/archive/0303/msg00020.html
> > 
> >   DestroyFunc FuncFvwmMaximizeFullScreen
> >   AddToFunc   FuncFvwmMaximizeFullScreen
> >   + I ThisWindow (Maximized) Style $n Title, Borders
> >   + I CondCase (NoMatch) Style $n NoTitle, !Borders
> >   + I CondCase (NoMatch) Raise
> >   + I CondCase (NoMatch) UpdateStyles
> >   + I Maximize
> 
> This is an old sample that does not work anymore (CondCase renamed).
> 
> > $n is the window's name, but it's not documented in fvwm manpage.
> 
> This variable is not documented so you don't try to use it. Single letter
> variables cause problems and will be removed after 2.6.x.
> 
> > BTW, are there any other implicit variables?
> 
> All variables are documented in the "COMMAND EXPANSION" man page section.
> There are no exceptions, you may safely assume any undocumeted syntax as
> unexisting.
> 
> In this case, please use $[w.name] that replaces the old name $n in both
> 2.4.x and 2.5.x.
> 
> And nowadays when we have WindowStyle command in 2.5.x, "Style $[w.name]"
> is probably not what you want to use. Use this instead sample:
> 
>   DestroyFunc FuncFvwmMaximizeFullScreen
>   AddToFunc   FuncFvwmMaximizeFullScreen
>   + I ThisWindow (Maximized) WindowStyle Title, Borders
>   + I TestRc (!Match) WindowStyle !Title, !Borders
>   + I TestRc (!Match) Raise
>   + I TestRc (!Match) UpdateStyles
>   + I Maximize ewmhiwa
> 
> Regards,
> Mikhael.
> --

Thank you, 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]

Reply via email to