Can we extend this feature to even notify application that when display is off because of S0i3 is enabled due to extended period of user inactivity? We can provide driver side support.
/Winson. -----Original Message----- From: meego-dev-boun...@meego.com [mailto:meego-dev-boun...@meego.com] On Behalf Of Thiago Macieira Sent: Friday, November 12, 2010 3:50 PM To: meego-dev@meego.com Subject: Re: [MeeGo-dev] QWidget::showEvent might be helpful for apps wanting to know if they should keep drawing. On Friday, 12 de November de 2010 23:44:54 Sivan Greenberg wrote: > Let's do it then. We already have the user story: > > Joe wants to know when his application's window is not to be > considered "visible" == "not worth drawing or updating in UI tems" > (this can be obscured, less then 20% visible when pushed sideways, > screen is locked, display off). > Jow wants to know when his app is visible again (not obscured, display > on, brought back from the sides) > > It feels to me it might be non trivial to merge all the raw states to > two events in a qt api, but as we discussed the benefit will be both > in power and performance consumption and standardized API, if we could > have it also implemented on the other targets (Symbian et al). If there's any way that the WM knows this, let's make sure it sends an event. Let's even extend EWMH with this event. Then Qt and any other toolkit can send the appropriate event. Forget Symbian at this point. People here in MeeGo don't have to worry about it. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Senior Product Manager - Nokia, Qt Development Frameworks PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 _______________________________________________ MeeGo-dev mailing list MeeGo-dev@meego.com http://lists.meego.com/listinfo/meego-dev