# click on the desktop to get menus
OnDesktop Mouse1 :HideMenus
OnDesktop Mouse2 :WorkspaceMenu
OnDesktop Mouse3 :RootMenu

# left click on the titlebar to move the window
OnTitlebar Mouse1 :MacroCmd {Raise} {Focus} {ActivateTab}
OnTitlebar Move1  :StartMoving

# right click on the titlebar for a menu of options
OnTitlebar Mouse3 :WindowMenu

# double click on the titlebar to maximize
OnTitlebar Double Mouse1 :Maximize

# resize from bottom left or right corners
OnLeftGrip Move1 :StartResizing bottomleft
OnRightGrip Move1 :StartResizing bottomright
