Mir

Comment 1 for bug 1357429

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I personally disapprove of this (and the existing setter too). Orientation should be an attribute of the screen. Not an attribute of any particular surface. Only if you want individual surfaces to rotate but not others (like Unity8 does now keeping the top bar unrotated) does it make sense. However I suspect that is a bug and not desired behaviour.

Also note set_orientation doesn't need to exist either. It is redundant with the older function set_transformation(). A getter already exists in the form of: Renderable::transformation()

I think we need to unify the redundant "orientation" and "transformation" functions. When that's done, we can make sure a getter is still available in the right place for you.