[maemo-developers] Optimal battery life considerations in apps

From: Eero Tamminen eero.tamminen at nokia.com
Date: Mon Jul 13 12:09:07 EEST 2009
Hi,

ext Henrik Hedberg wrote:
>     There is a standard X event for that: XVisibilityEvent. The X server 
> (and a window manager) can keep window contents cached (backing store) 
> and decide not to send exposure events, but my interpretation is that if 
> it is not sending visibility events it is broken (and it is currently as 
> I showed in my earlier post).

This is not the case with Compositing enabled (Maemo 5).
Only compositing manager can know whether something is visible,
X cannot.  I think there's an extra API provided for that in
Maemo 5.


	- Eero
More information about the maemo-developers mailing list