On 2/7/06, Peter Williams <[EMAIL PROTECTED]> wrote:
> I submitted this as a feature request (#1718) almost a year ago, but
> given the lack of progress on incoming feature requests, i was hoping
> someone on this list might have a better idea of how do this...
>
> Recapture Alternative Needed for Window Name Change
>
> I need the window style to change when its name changes; for instance
> to have xterm styles based on the current working directory or user,
> or to have Gaim IM windows turn red when the Gaim Message Notification
> plugin inserts ** in front of an IM window with an unread message.
> (this is especially convenient given the way the Pager colors windows)
>
> What I am doing now is
> Style "\\*\\**" BackColor Red
> *FvwmEvent: window_name RecaptureWindow
> *FvwmEvent: Delay 1


Try this:


DestroyFunc UpdateStyles
AddToFunc UpdateStyles
+ I Style "\\*\\**" BackColor Red
+ I Style (etc etc)

*FvwmEvent: window_name UpdateStyles

Cheers!
  Renato Caldas

Reply via email to