Hello,
Thanks to all that replied. I've tried implementing what you suggested,
but it's not working yet. I was hoping someone could spot what I've done
wrong..
I have the following in my various fvwm .rc files:
*FvwmEvent window_name winame_event
Module FvwmEvent
Colorset 1 fg #cccccc, bg #555570
Colorset 2 fg #cccccc, bg #990000
DestroyFunc winame_event
AddToFunc winame_event
+ I ThisWindow (Xcmd) ThisWindow ("*(root_at_*") Style $n Colorset 1
+ I ThisWindow (Xcmd) ThisWindow ("*(ara_at_*") Style $n Colorset 2
+ I Exec exec echo "The function fired"
When the title of a window changes I get the line "The function fired"
output at the console, so I'm happy that the event side of things is
working, but for some reason the style of the window is not being
updated to the second colorset.
I am using 2.5.7, if that is relevant.
Many thanks,
Andy
Mikhael Goikhman wrote:
>
> AddToFunc winame_event
> + I ThisWindow (Xcmd) ThisWindow ("entering*") Style $n Colorset ...
> + I ThisWindow (Xcmd) ThisWindow ("exitting*") Style $n Colorset ...
>
--
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 Wed Oct 22 2003 - 11:31:00 BST