[MeeGo-dev] QWidget::showEvent might be helpful for apps wanting to know if they should keep drawing.
viroteck at viroteck.net
Fri Nov 12 11:32:50 PST 2010
-----BEGIN PGP SIGNED MESSAGE-----
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
>> XFocusIn and EnterNotify are sent to other windows.
>> However, a window being deactivated in X doesn't mean it's no longer
>> 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:
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
More information about the MeeGo-dev