-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/12/2010 07:09 PM, Arjan van de Ven wrote:
> On 11/12/2010 11:05 AM, Thiago Macieira wrote:
>> t it.
>> QEvent::WindowActivate is used on X11, however. It's sent in response
>> to an
>> XFocusIn or EnterNotify events. Its counterpart
>> (QEvent::WindowDeactivate) is
>> sent to windows when XFocusOut and LeaveNotify are received as well as
>> when
>> XFocusIn and EnterNotify are sent to other windows.
>>
>> However, a window being deactivated in X doesn't mean it's no longer
>> visible.
>> Writing applications that stop painting when they get deactivated may
>> lead to
>> bizarre results, especially outside of MeeGo.
>>
> 
> 
> can we get some urgency on solving this? adding events for "you're
> visible" and "you're not visible" ?
> It's a huge deal for power / thermal savings.....

meegotouch at least is one step ahead on this, it seems:
http://apidocs.meego.com/git-tip/mtf/class_m_widget.html#a0190cf09ccca7fc23769082b31b54538

(onDisplayChangeEvent)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJM3ZZiAAoJEL09WxvSn7p9AjQIAMD+pe4/WwoHOJmzXs4vt0E6
6mFlHGPBCKPDDz0Eavux9xdaq1al8mkyW4qUdXdzQWy51Q+uc2qCALwOcyv3UxcM
rRrkWqWQVUZ/euDcyGg7wwzxxMP1oY/kVmz6h/16JehC+hgQQuF1MIY+HCr9LKmA
m3G2QHpyl4SNuzBCNAWVIL8EFfdwcizib6U7zxbKg6byg40gcjNMRxEKfYJ+KR3p
+cTiE4HLw20m3vtovTheqPHwsXCh/PBAVp31B81ZPW37DUieXLJhpXq5DNyOeiiR
1InPGfXdXEVFFioEWT6AtDse3RRNn97Mihry0+XoMjKb0ciPp86No768dKHarT0=
=gZeZ
-----END PGP SIGNATURE-----
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev

Reply via email to