[maemo-developers] [Fremantle] Compositing is disabled in fullscreen

From: Javier S. Pedro maemo at javispedro.com
Date: Thu Sep 9 17:26:46 EEST 2010
Luca Donaggio wrote:
> I know that compositing is disabled in fullscreen, as some 
composited
> widget (for example the fullscreen button in hildon-extras) are 
shown with
> a black background instead of a semi-transparent one.
> But I noticed one thing: if a hildon-banner appears in fullscreen 
when one
> of such widgets is on the screen, the window manager turns 
compositing on
> (the translucid background of the other widget is shown), just to 
turn it
> off when the banner disappears.
> 
> Is there a way to trick the window manager to act the same for 
arbitrary
> widgets as for hildon-banners?
> 

The window manager will keep compositing if it finds certain window 
"types" present when entering full screen mode. For example, the 
"banner" window, or a Hildon Animation Actor. Since you can easily 
create the latter (hildon_animation_actor_*), I would use that to keep 
the window manager from switching.

On the other side, you should check if you really need to keep 
compositing enabled if you're not using any window needing it. AFAIK, 
the fullscreen hildon-extras is not actually using composition but 
some other strategy.

Javier.


More information about the maemo-developers mailing list