On Mon, Dec 03, 2007 at 07:10:47PM -0500, C Thala wrote:
> > Styles take effect immediately if you have a fairly recent fvwm
> > version.  The latest stable (2.4.x) and development versions(2.5.x)
> > are fine.
> 
> I'm using fvwm-2.4.19.
> 
> 
> 
> > You may be using the wrong style name:
> > Use
> >   Style ... NoTitle, HandleWidth 0
> >   Style ... NoTitle, BorderWidth 0
> 
> This is what I have in my .fvm2rc:
> 
> 
> DestroyFunc     xterm-fullscreen
> AddToFunc       xterm-fullscreen
>         +       I Style "xterm*" UseStyle XtermFSStyle
>         +       I Resize 142c 68c
>         +       I Move 0 -0 Warp
> 
> Style XtermFSStyle \
>         NakedTransient ,\
>         NoIcon ,\
>         NoTitle        ,\
>         MouseFocus ,\
>         UseDecor NormalDecor ,\
>         BorderWidth 0 ,\
>         HandleWidth 0 ,\
>         ForeColor Black        ,\
>         BackColor dimgrey
> 
> Key          F6      W        M       Function xterm-fullscreen
> 
> 
> It mostly works, but the xterm in question doesn't lose the border. I
> have to open another xterm for this style to go into efffect.

The UseStyle style is one of the few styles that is not applied
immediately (UpdateStyles won't help either).  Set the styles
directly:

DestroyFunc     xterm-fullscreen
AddToFunc       xterm-fullscreen
        +       I Style "xterm*" NakedTransient, NoIcon, ...
        +       I Resize 142c 68c
        +       I Move 0 -0 Warp


> > > Is there any way that I can have the Style command go into effect
+immediately?
> >
> > I think you are looking for WindowStyle
>
> Interesting, I have 2.4.19, and this term (WindowStyle) is not   
> mentioned anywhere in the man page.

WindowStyle is new in 2.5.8 or later.

Ciao

Dominik ^_^  ^_^

 --
Dominik Vogt

Reply via email to