[maemo-developers] Allowing rotation of closed-source apps

From: Thomas Perl th.perl at gmail.com
Date: Sun Feb 6 14:53:11 EET 2011
Hi Alberto,

2011/2/6 Alberto Mardegan <mardy at users.sourceforge.net>:
> What do you think about all this? I didn't check hildon-desktop and mb2
> source code yet, so if you also happen to have some hints on the
> implementation, they are very welcome. :-)

Sounds good. Hildon-Desktop already sets the auto-rotation flag on a
window if Ctrl+Shift+R is pressed. There is a central place in H-D
where these keyboard shortcuts are handled. Going from there, you can
see how the setting of a flag is done (for the current window). It
shouldn't be too hard to add support for doing this by window title or
window class. I wonder what would happen if we would simply try to
patch H-D to auto-rotate every window and then "blacklist" the
closed-source apps that don't work?

HTH.
Thomas
More information about the maemo-developers mailing list