Ideal screen rotation
openmoko at underhand.org
Tue Nov 10 18:28:11 CET 2009
Warren Baird wrote:
> I meant that it should *constrain* the behaviour of rotation - more or
> less like omnewrotate behaves now, but skipping over the two
> 'incorrect' orientations.
> so if the app says 'landscape', it's still flip between xrandr -o 1
> and xrandr -o 3 as you rotate the phone, but won't flip to xrandr -o 0
> or xrandr -o 2.
> I don't think it will normally makes sense for an application to
> specficially request 'xrandr -o 3' - they will usually just want to be
> sure that they are displayed in portrait or landscape mode.
ok, we can make that a policy decision in the WM, but the app only needs
to specify portrait or landscape.
More information about the community