On Sun, Jun 30, 2002 at 01:17:30AM +0000, Mikhael Goikhman wrote: > On 29 Jun 2002 23:50:26 +0200, Dominik Vogt wrote: > > > > On Sat, Jun 29, 2002 at 11:21:52AM +0000, Mikhael Goikhman wrote: > > > Currently it seems impossible to invoke an arbitrary menu in a window > > > context. I.e. the following does not work as expected: > > > > > > Next (MyWindow) Menu WindowOperations > > > > > > The only way to set a window context is using a module protocol, like: > > > > > > SendToModule FvwmPerl eval $module->send("Menu WindowOperations", > > > 0x3e0000e) > > > > I have cleaned up this mess and removed that global. Please double > > check if the context from modules still works. > > It does not seem to work differently, i.e. "Next (MyWindow) Menu ...".
Well, perhaps we should talk about what should happen first. I'm not sure what you expect. That the menu is placed near the window? If so, adjacent to which part of the window and with which gravity? Other than that, there was another buggy global (ButtonWindow) that was used in the menu code although Fw should have been used instead. I've removed all references to this global. It might be possible that a menu is now attached to a button or title bar although is wasn't invoked in a window context. I didn't quite understand the logic behing this global, but it seemed buggy and useless. Bye Dominik ^_^ ^_^ -- Dominik Vogt, [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] -- Visit the official FVWM web page at <URL:http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm-workers" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]