The first argument to “Mouse” is the button. But how man default buttons are there? In this example mouse button 5 is used:
Mouse 5 T A FvwmWindowShade False
I read that mouse button 5 is when you roll the mousewheel down twice. Is there a list somewhere (could not find one in the man pages) of all the predefined mouse integers?
The number of buttons is defined by the number your mouse has. Actually, for the scroll wheel, buttons 4 and 5 are defined for it. For when moves the wheel up and down.
“Mouse 0” is special to Fvwm – meaning any mouse button.
Where in the “man” did you find that information? I have looked through it many times now but could not see find anything on these standards anywhere.
BTW: I have the follwing mouse bindings in my .fvwm2rc file:
for the root window:
Mouse 1 R A Menu MenuFvwmRoot Nop
Mouse 2 R A Menu MenuFvwmWindowOps Nop
Mouse 3 R A WindowList
for the title bar buttons:
Mouse 0 1 A Menu MenuFvwmWindowOps2 Close
Mouse 0 2 A FuncFvwmMaximize
Mouse 0 4 A Iconify
for other parts of the window/borders/icons:
Mouse 1 F A FuncFvwmResizeOrRaise
Mouse 1 TS A FuncFvwmMoveOrRaise
Mouse 1 I A FuncFvwmMoveOrIconify
Mouse 2 I A Iconify
Mouse 2 FST A Menu MenuFvwmWindowOps2 Nop
Mouse 3 TSIF A RaiseLower
But when I use the mouse wheel (up or down, its the same) on the leftmost button in a window it closes…But I have not assigned 4 or 5 to anything.