Motivation for this feature: It is useful (e.g. in a map editor) to allow right click to have XML GUI functionality other than rotating the camera.
I think I’m a little confused - Xml does already pass in the right click as a different event than another click. Did you have a different suggestion?
I’m generally wary of capturing and preventing movements wholesale when there’s no other way of getting around it in some cases - and in the case of global Xml, you’d want to keep the right click rotation functionality (and allow for middle mouse scrolls as well!) because otherwise you’re putting a pretty hard limit on where people can click and move.