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

This works fine, except there is a horrible screen flash when I activate
the IM window, and worse, when browsing in Mozilla Firefox triggers the
window_name event.

Does anyone have any other ideas of how to change a window style when
its title changes?

Thanks
Peter

Reply via email to