Re: FVWM: have style changes go into effect immediately?

2007-12-04 Thread C Thala
   Styles take effect immediately if you have a fairly recent fvwm
   version.
 
  This is what I have in my .fvm2rc:
  Style xterm* UseStyle XtermFSStyle

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

Yup, that worked perfectly. Thanks for your help!



Re: FVWM: have style changes go into effect immediately?

2007-12-03 Thread C Thala
 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  WM   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.



Re: FVWM: have style changes go into effect immediately?

2007-12-03 Thread C Thala
  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.



Re: FVWM: have style changes go into effect immediately?

2007-12-03 Thread C Thala
   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.

A web search reveals the existence of the UpdateStyles command, but
adding that to my functions doesn't seem to have any effect. :(



Re: FVWM: have style changes go into effect immediately?

2007-12-03 Thread Dominik Vogt
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  WM   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



Re: FVWM: have style changes go into effect immediately?

2007-11-30 Thread Dominik Vogt
On Thu, Nov 29, 2007 at 10:34:21PM -0500, C Thala wrote:
 Sometimes I want my xterms to full screen in X. Similar to PuTTY's
 alt-enter full-screen behavior on win32 platforms.
 
 
 So I have a style defined that removes the borders from an xterm and
 resize is to full screen.
 
 The problem  is that the Style command does not go into effect for the
 current xterm, but subsequently created ones.

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.

You may be using the wrong style name:

Use

  Style ... NoTitle, HandleWidth 0

For windows with handles, i.e. a border split into eight parts.
And use

  Style ... NoTitle, BorderWidth 0

if your windows don't have handles.

 This is not too much of a problem, since I use screen, so I just
 detach from that particular xterm, close the xterm, and then start a
 new xterm.
 
 Is there any way that I can have the Style command go into effect immediately?

Ciao

Dominik ^_^  ^_^

 --
Dominik Vogt



Re: FVWM: have style changes go into effect immediately?

2007-11-30 Thread Emilie Ann Phillips
On Nov 29, 2007 10:34 PM, C Thala [EMAIL PROTECTED] wrote:
 Is there any way that I can have the Style command go into effect immediately?

I think you are looking for WindowStyle

Emilie