# NeXTStep Button Setup
# Written by Maciej Delmanowski <harnir@post.pl>
#
# This is the window titlebar button setup similar to the NeXTStep
# buttons on the titlebar

# 1st button - iconify
Mouse 1 1 $[Mod]	Window-Button-Function Button1 /Window-Menu Window-Iconify
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

# 2th button - close
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 Window-Iconify
Style * Button 2

# MiniIcon
Mouse 1 3       $[Mod] Window-Raise-MoveRaise
Mouse 2 3       $[Mod] Window-Shade-Resize
Mouse 3 3       $[Mod] Window-Lower-Move
Style * Button 3

Style * NoButton 4

Style * NoButton 5

Style * NoButton 6

Style * NoButton 7

Style * NoButton 8

Style * NoButton 9

Style * NoButton 0

# vim:ft=fvwm
