FlipFocus is meant to be used only in conjunction with Prev. e.g.
+ "I" Prev [CurrentDesk !Iconic] FlipFocus
For what you are doing you may as well use Focus here. FlipFocus is a
way of changing the order of the windowlist so that Prev [] FlipFocus,
Prev [] FlipFocus toggles back and forth between two windows.
> - Would it be possible to write a smarter function which combines the
> functionality of these two functions? That way I could have on
> hotkey which toggles between the current window and the mail window.
This is where None comes into its own:
# function to toggle iconic state of Mutt window
AddToFunc ToggleMail "I" Next [Mutt !Iconic] HideMutt
+ "I" None [Mutt !Iconic] ShowMutt
# function to iconify Mutt
AddToFunc HideMutt "I" Iconify
+ "I" Prev [CurrentDesk !Iconic] Focus
# function to de-iconify or start Mutt
AddToFunc ShowMutt "I" Next [Mutt] Iconify
+ "I" None [Mutt] Exec mutt
+ "I" None [Mutt] Wait Mutt
+ "I" Next [Mutt] Focus
Hope this helps,
Tim.
--
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 Thu Nov 12 1998 - 09:11:11 GMT