This works great! Thank you. I'll quote the portion of my .fvwm2rc for the archives here:
#---------------- snip .fvwm2rc # Abstract: to automatically focus a new window when one window closes # tries to choose a window in the same desk, but will default to # a window on any desk if unavailable # # Requires fvwm 2.5.x+ DestroyFunc FocusAndRaise AddToFunc FocusAndRaise + "I" Focus + "I" Raise # For my alt-tab binding # switch to any other non-sticky window DestroyFunc Cycle AddToFunc Cycle + "I" Next (!Sticky) Function FocusAndRaise Key Tab A M Cycle # cycle windows whenever a window is closed. # switch to another non-sticky window # try first a window on the same desk, # default to any non-sticky window DestroyFunc CycleLocally AddToFunc CycleLocally + "I" Next (CurrentDesk, !Sticky) Function FocusAndRaise + "I" TestRC (0) Next (!Sticky) Function FocusAndRaise *FvwmEvent: destroy_window 'Function CycleLocally' #---------------- Thanks a lot, =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Nicholas Paul Johnson o nickjohnson \at\ virginia \dot\ edu o 3ebf10a7 subkeys.pgp.net o http://manjac.ath.cx/nick o "When all you've got is a hammer, everything looks like a nail. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -- 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 [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
