FVWM: Warp after window close

From: Mikko Heiskanen <mikko_at_whitecortex.net>
Date: Sun, 19 Sep 2004 21:01:11 +0300

Hi,
is it possible to have focus move to nearest window, after closing
a window? I tried the following:

*FvwmEvent-NewWindow: StartDelay 4
*FvwmEvent-NewWindow: add_window FuncFocusWindow
*FvwmEvent-OldWindow: Cmd
*FvwmEvent-OldWindow: PassId
*FvwmEvent-OldWindow: destroy_window FuncFocusWindow
DestroyFunc FuncFocusWindow
AddToFunc FuncFocusWindow
        + I ThisWindow ("My Window") Move 200p 100p
        + I Focus
        + I WarpToWindow 50p 50p
AddToFunc StartFunction I FvwmEvent FvwmEvent-NewWindow
FvwmEvent-OldWindow

I think the Oldwindow FocusFunc focuses the window being closed.
Now, I couldn't find a way to achieve what I want.
I started to use fvwm with no mouse, and now I need to either
focus with mouse or alt-tab after closing a window.
I am using 2.5.10.

Thanks,
Mikko
--
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 majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Sun Sep 19 2004 - 13:01:37 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:57 BST