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 47 48
|
# MS Windows 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 MS Windows
# buttons on the titlebar
# First button - close, iconify, destroy
Mouse 0 1 $[Mod] Popup /Window-Menu Button1 0 100
Style * Button 1
# Second button - close, iconify, destroy
Mouse 1 2 $[Mod] Window-Button-Function Button2 /Window-Menu Close
Mouse 2 2 $[Mod] Window-Button-Function Button2 /Window-Menu Nop
Mouse 3 2 $[Mod] Window-Button-Function Button2 /Window-Menu Nop
Style * Button 2
Style * NoButton 3
# 4th button - various ways to maximize a window
Mouse 1 4 $[Mod0] Window-Button-Function Button4 /Window-Menu-Maximize Window-Resize Maximize
Mouse 2 4 $[Mod0] Window-Button-Function Button4 /Window-Menu-Maximize Window-Resize V100
Mouse 3 4 $[Mod0] Window-Button-Function Button4 /Window-Menu-Maximize Window-Resize H100
Mouse 1 4 $[Mod1] Window-Button-Function Button4 /Window-Menu-Maximize Window-Resize VHgrow
Mouse 2 4 $[Mod1] Window-Button-Function Button4 /Window-Menu-Maximize Window-Resize Vgrow
Mouse 3 4 $[Mod1] Window-Button-Function Button4 /Window-Menu-Maximize Window-Resize Hgrow
Style * Button 4
Style * NoButton 5
# 6th button - additional window commands
Mouse 1 6 $[Mod] Window-Button-Function Button6 /Window-Menu Window-Iconify
Mouse 2 6 $[Mod] Window-Button-Function Button6 /Window-Menu Nop
Mouse 3 6 $[Mod] Window-Button-Function Button6 /Window-Menu Nop
Style * Button 6
Style * NoButton 7
Style * NoButton 8
Style * NoButton 9
Style * NoButton 0
# NumLock support
Read $./Buttons-windows_NumLock
# vim:ft=fvwm
|