Function: mouse-delete-window

Delete the window you click on.
Do nothing if the frame has just one window.
This command must be bound to a mouse click.
(fn CLICK)