This script can be invoked from a shell or from .fvwm2rc. Note, fvwm itself continues to run during these 2 seconds. Default behavior is listed below. When a window is opened up, focus the window and move the pointer to it. The parent window regains focus when a window is closed.
Parenthood is determined when a window is opened.
It is the last focused window with the same X class. Move appletviewer to NorthWest corner. Xterm won't focus back to its parent after closed. When a window is de-iconified, focus it and move the pointer. These are collection of functions a user can call from programmable section.