Automatic Focus of Windows after page switch


I have a quite basic question that I would like to have some hint & direction.

When I switch to the next or previous page, I always get focused the window that was lastly focused.
but when there was no window focus, can Fvwm focus automatically single window if alone or the last window focused before I unfocused it.

In other words, I would like that my last window is always focused when page switch.

Thank you !

Best regards,


I have no idea what you’re asking here. At best I can only assume you mean something like this:

DestroyModuleConfig b:*
*b: Cmd Function
*b: New_Desk a

Module FvwmEvent b

DestroyFunc a
AddToFunc a

  • I Prev (Focused) Break
  • I PointerWindow (!Focused) Prev (!Focused, AcceptsFocus) Focus Nowarp

You can mess around with using ‘None’ as well as a prerequisite depending on your needs. I am not too clear as to what you’re trying to do.

– Thomas Adam