Faster way to close OS X Windows with only a mouse
If you are using Magic Mouse - there's BetterTouchTool where you can set custom gestures. 
For example you can assign ⌘+w to three fingers click globally. Here's how this looks like:



You can also assign actions to "Normal Mice" if it has additional keys.