closing application at loss of focus

Hey all –

Anyone know how to make FVWM close one of the active applications if it loses focus?

I want to have an application open until it loses focus, and then have it be closed…

thanks in advance,

You want to check out FvwmEvent to do that, it allows you te react on certain events that happen to windows, I haven’t used it myself yet, but the a look at the manpage or a search on the forum will certainly prove worthwile :slight_smile:

As tBD says, FvwmEvent can be used. You might also be able to do it with FvwmAuto:

Module FvwmAuto 0 -mleave "Silent Close"

– Thomas Adam