DestroyFunc EWMHActivateWindowFunc is working without any !FP*. When is this function used? The manual says is for activating a window from taskbars. I don’t use taskbars. Has it any other use?
Thanks.
It’s run when the client receives _NET_ACTIVE_WINDOW message – which can be when the window manager should give focus or some other action to the window, which can also be when a window starts.
So in your case, here’s what I would do:
Style Program1 State 23
Style Program2 State 23
DestroyFunc EWMHActivateWindowFunc
AddToFunc EWMHActivateWindowFunc
+ I ThisWindow (State 23) Break
+ I Focus
+ I Raise
+ I ....
Where, any windows you don’t want subject to this are given the label of “23” for the State condition, and are then ignored by the EWMHActivateWindowFunc as appropriate.
I’ve been using FVWM with EWMHActivateWindowFunc distroyed for two weeks now and I don’t see any issue.
From Freedesktop WM specs:
I use FvwmPager, FvwmEvent (destroy_window and add_window), FvwmAnimate, FvwmIdent and the IconBox. Apps minimized in the IconBox can be maximized without this function and for changing desktop pages is not needed either. Is there any other use for this function?