Button bindings: Add <ClickOnDesktop> modifier. If set, the binding is triggered only if clicked on the desktop.

rotate: Set <ClickOnDesktop>Button4 to rotate left, <ClickOnDesktop>Button5 to rotate right.

(simulate the functionality of compiz plugin vpswitch)