Re: FVWM: Dynamically changing styles for icons

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Wed, 22 Oct 2003 02:40:55 +0300

On 21 Oct 2003 15:48:29 -0700, Elliot Sowadsky wrote:
>
> <<
> The title bars of my xterms begin with text in the form
> '(<user>_at_<hostname>)' which updates after an su, but FVWM doesn't react
> to the change.
> >>
>
> I have something similar for clearcase views.
>
> *FvwmEvent window_name winame_event
> AddToFunc winame_event
> + I WindowID $0 (Xcmd) WindowID $0 ("entering*") Style $n Colorset 1, HilightColorset 7
> + I WindowID $0 (Xcmd) WindowID $0 ("exitting*") Style $n Colorset 3, HilightColorset 4

I would like WindowId not to be suggested for the things that do not
require it. For 2.4.16+ use:

  AddToFunc winame_event
  + I ThisWindow (Xcmd) ThisWindow ("entering*") Style $n Colorset ...
  + I ThisWindow (Xcmd) ThisWindow ("exitting*") Style $n Colorset ...

And for the future 2.5.8+ use a more appropriate:

  AddToFunc winame_event
  + I ThisWindow (Xcmd) ThisWindow ("entering*") WindowStyle Colorset ...
  + I ThisWindow (Xcmd) ThisWindow ("exitting*") WindowStyle Colorset ...

Regards,
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 majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Tue Oct 21 2003 - 18:43:25 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:55 BST