[maemo-developers] detect window iconified/maximized in SDL

From: W. de Hoog wdehoog at exalondelft.nl
Date: Tue Mar 24 23:23:03 EET 2009
Hi,

I would like to detect when an SDL application gets iconified. Than I 
can pause it to save power. In theory the SDL_ACTIVEEVENT should be 
generated and event.active should give me the info I need however I do 
not get these type of events.

Anybody know of how to get the correct events or another way to detect 
the iconification?

regards,

-- 
Willem-Jan de Hoog

More information about the maemo-developers mailing list