John Palmieri writes:
> I want a function that does the following:
>
> if an xdvi window is visible, then switch to an emacs window (via
> 'Next [Emacs] Focus', for instance)
> if an emacs window is visible, then switch to an xdvi window
> if neither is visible, switch to an emacs window
You might give the emacs and the xdvi (if it exists) the same title,
and make sure they are the only ones with that particular title. Then,
if both exist, some key like
Next [ <title> ] Focus
should give focus to whichever one of them doesn't currently have it.
If only the emacs exists, the key should always give that focus.
Håvard Fosseng
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Tue Oct 08 1996 - 17:28:45 BST