[maemo-developers] Disable portrait support for dialog with Hildon

From: Cornelius Hald hald at icandy.de
Date: Fri Oct 30 09:45:14 EET 2009
On Fri, 2009-10-30 at 09:39 +0200, Kimmo Hämäläinen wrote:
> > Try with a 0 instead of ~HILDON_PORTRAIT_MODE_SUPPORT.
> 
> The problem here seems to be that passing 0 will cause deletion of the
> property. That means that since it's missing from the window, it is
> inherited from the parent window. You would need to keep the SUPPORT
> property but set the value to 0, to explicitly tell that portrait is not
> supported and should not be inherited from the parent.

That sounds reasonable, but can I do that with the Hildon API or do I
have to set X atoms manually?

Thanks!
Conny


More information about the maemo-developers mailing list