bioe007/awesome-revelation — pull request #3 by FPtje (2011-12-21 21:44:22+00:00)
Title: Add: Middle mouse close window. (See e-mail)

ADD: When in revelation mode, middle click will close the window
under the pointer.

This is very useful for window management. When you have many
windows open and you want to close some, you can just open
revelation and close the windows with middle mouse.

I have maintained your coding style, but I recommend not testing
boolean variables against true/false. So instead of
if mouse.buttons[1] == true then ...
you would have
if mouse.buttons[1] then

and instead of
if mouse.buttons[1] == false then -- doesn't actually appear in
code
you would have
if not mouse.buttons[1] then ...

That's just a minor niggle though.