I am using the MwmDecor style option for every window, so that I don’t have to cope with titlebars on xmms and others!
I defined some MwmDecor* buttons but there is something that I find annoying as a hell, on certain transient windows (i.e. the font color in ooffice) the close button is not displayed, only window menu button is displayed. This is definitively annoying and I do not know how to force it to be displayed (what is what I would like). Moreover, no MwmDecor* button style has been defined for this button…
There are conditions where a transient window (even with the above supplied) will set various hints for a window NOT to show buttons that a DecoratedTransient window normally would.
Button 1: menu, 2: close, 3: max vertically, 4: max, 5: max horizontally, 6: iconify
Only the menu button is displayed on certain transient window (another example is the about window of xmms). I tried to put MwmDecorMenu for the second button but it didn’t change something.
Moreover if I removed this definitions (MwmDecor* buttonstyle), the buttons 2 and 4 are not displayed, the others are.
eeeuuuuhhhhhhhhh how to say that, my config is a monolithic file (more than 1800 lines with the comments), so eventually I can cut and paste it but for the screenshot, I don’t have any way of putting something online… so no idea for that!
If I remove the style MwmFunctions, MwmDecor I get the 6 buttons on these windows but of course I will have to defined thousands of custom states for specific applications.
If either MwmDecor or MwmFunctions is specified I have the first example.
I took time to look at the default Fvwm95 config, and the trick is:
[code]+ ButtonStyle 1 - Clear MwmDecorMenu
ButtonStyle 2 - Clear
ButtonStyle 3 - Clear MwmDecorMax
ButtonStyle 4 - Clear MwmDecorMax
ButtonStyle 5 - Clear MwmDecorMax
ButtonStyle 6 - Clear MwmDecorMin
[/code]
so add this “clear” style to the buttonstyle! Now, I have this menu button and the close button on the windows subject to MwmFunctions, so so so cool!!!