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 [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to