Add wm_rotation infrastructure support