Comment 9 for bug 1379777

Revision history for this message
Laurie Bradshaw (lauriebradshaw) wrote :

Seems mir has the necessary support with mir_surface_set_preferred_orientation, which confusingly doesn't do anything at the moment, as the shell isn't honouring it.

I'm currently providing orientation support in neverball and tuxracer by rotating the whole scene and touch input to the user preference, and locking to an arbitrary orientation using the desktop file parameter to prevent automatic rotation interfering with the gameplay.

It'd be much better if the mir surface flag was honoured so the panel and gesture edges would also be rotated in order to maintain consistency with other applications.