Finally solved: FVWM: Events when windows close?

2010-08-13 Thread Michael Großer
Thomas Adam wrote: 2010/8/10 Michael Großer michael.gros...@gmx.de: The problem: If I switch to another viewport and then back to the prior one, then sometimes no window has the focus. If I give a window a focus and close it, then again no window has the focus. How can I solve this problem?

Re: Finally solved: FVWM: Events when windows close?

2010-08-13 Thread Thomas Adam
On Fri, Aug 13, 2010 at 01:31:36PM +0200, Michael Großer wrote: Then, I handle the dirty details. # 1. if a window is already focussed, then do nothing Current implies focused, of course, but: DestroyFunc focus_a_window AddToFunc focus_a_window + I Current (Focused) Break # 2. if no