On Fri, 2 Aug 2019 at 20:34, hw <h...@adminart.net> wrote:
> DestroyMenu Main
> AddToMenu Main
> + Test (f fvwm-functions-starters-games.fvwm) AddToMenu Main "Games" PopUp 
> Games

That's not going to work, because when the '+' command is run for a
menu-context, the menu code doesn't understand/execute things like the
'Test' command.

In your case, you need to wrap the menu definitions in a function:

DestroyFunc foo
AddToFunc.  foo
+ Test (....) AddToMenu .....

-- Thomas Adam

Reply via email to