On 04 Feb 2006 19:42:58 +0000, seventh guardian wrote:
> 
> Yes, but as I found in the source code, modules distinguish them by
> looking for the "*FvwmMyname" string instead of just the asterisk. I
> don't know about perl, but c modules usually do that. In this case it
> would be as easy to look for just for "FvwmMyname", without needing
> either the asterisked string or calling CatString3.

As I said, a module gets M_CONFIG_INFO packets from fvwm, with text like:

  DesktopSize ...
  ImagePath ...
  Colorset ...
  *FvwmAnimate...

You may add a higher level API similar to what perllib does (to work with
GlobalConfig, ModuleConfig, Colorsets), but you can't just omit an
asterisk when you send or match the text, because a user may have a
module with any name.

Regards,
Mikhael.

Reply via email to