Rotation has nothing to do with me, at all, and is provided by Nokia. Rotation is the matter of setting two XAtoms on your window.