Mir

Comment 3 for bug 1357429

Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

I think the "set_..." name is raising a false expectation. As Gerry says it is a message from shell to client (that Mir coveys without interpretation).

If it were named "advise_orientation()" then there'd be no expectation of a corresponding "get..." member function.

The choice between:

1. the shell remembers the last orientation the orientation it has sent to a surface; or,
2. Mir remembers the last orientation sent by the shell so that the shell can query it.