1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
# MacOS X Button Setup
# Written by Maciej Delmanowski <harnir@linux.net.pl>
# Maintained and updated by Dominique Michel <dominique_libre@users.sourceforge,net>
#
# This is the window titlebar button setup similar to the MacOS X
# buttons on the titlebar
# First button - close
Mouse 1 1 $[Mod] Window-Button-Function Button1 /Window-Menu Close
Mouse 2 1 $[Mod] Window-Button-Function Button1 /Window-Menu Nop
Mouse 3 1 $[Mod] Window-Button-Function Button1 /Window-Menu Nop
Style * Button 1
Style * NoButton 2
# Second button - iconify
Mouse 1 3 $[Mod] Window-Button-Function Button3 /Window-Menu Window-Iconify
Mouse 2 3 $[Mod] Window-Button-Function Button3 /Window-Menu Nop
Mouse 3 3 $[Mod] Window-Button-Function Button3 /Window-Menu Nop
Style * Button 3
Style * NoButton 4
# third button - various ways to maximize a window
Mouse 1 5 $[Mod0] Window-Button-Function Button5 /Window-Menu-Maximize Window-Resize Maximize
Mouse 2 5 $[Mod0] Window-Button-Function Button5 /Window-Menu-Maximize Window-Resize V100
Mouse 3 5 $[Mod0] Window-Button-Function Button5 /Window-Menu-Maximize Window-Resize H100
Mouse 1 5 $[Mod1] Window-Button-Function Button5 /Window-Menu-Maximize Window-Resize VHgrow
Mouse 2 5 $[Mod1] Window-Button-Function Button5 /Window-Menu-Maximize Window-Resize Vgrow
Mouse 3 5 $[Mod1] Window-Button-Function Button5 /Window-Menu-Maximize Window-Resize Hgrow
Style * Button 5
Style * NoButton 6
Style * NoButton 7
Style * NoButton 8
Style * NoButton 9
Style * NoButton 0
# NumLock support
Read $./Buttons-macosx_NumLock
# vim:ft=fvwm
|