Hi Dan, I have several X-Windows/Motif programs written in C that run on OpenVMS, Tru64 and Solaris that use MWM and I'm porting to Suse Linux that uses FVWM.
When each of these programs first begins execution, their menus and decorations are changed using calls into XmNmwmMenu and XmAddProtocolCallback. This works on MWM, but not on FVWM. How do I get FVWM to change the menu and add a menu with a callback programmatically from within my X-windows/Motif C-program? ...Brian Pavlik -----Original Message----- From: Dan Espen [mailto:des...@verizon.net] Sent: Thursday, January 14, 2016 7:51 PM To: Shankar, Udaya (U.) Cc: fvwm@fvwm.org; Pavlik, Brian (B.S.) Subject: Re: FVWM: Need help on issue with FVWM menu list. "Shankar, Udaya (U.)" <ushan...@ford.com> writes: > Hello, > > We have FVWM version 2.5 running on SUSE Linux 11, It seems to be > working fine but came across an issue while running our applications. > Our applications are written in C and Motif and we have also > customized FVWM to have Motif compatibility through (Style, > ButtonStyle …) but when the application is opened and running the menu > list of the application is not translating or showing the way it is > programmed. Below is the snapshot of the menu list that is working > fine on the Solaris CDE environment and other with the menu list issue > on the Linux FVWM environment. > > On Solaris CDE > > cid:image001.png@01D14EED.511F0C60 > > On Linux FVWM > > cid:image002.png@01D14EED.511F0C60 > > Please let us know on how or where we can get help on handling the > menu list in FVWM for the applications (our application is setting > XmNmwmFunctions and calling XmInternAtom, XmAddProtocolCallback, and > setting XmNmwmMenu within the C-code). Appreciate your help. The menu in the first image is generated by the application. The menu in the second image is an Fvwm menu. You don't say what you did to make the menu appear. I think you have an Fvwm key or mouse binding on the Linux system that's being intercepted by Fvwm. -- Dan Espen