On Thu, Dec 14, 2006 at 11:16:02AM +0200, ext Eero Tamminen wrote: > I think the app loses focus when the screen is blanked. > So, the SDL app could catch screen focus events and do > some additional checks when that happens.
Right: as far as I can tell, a big black window covers the entire screen. This will trigger the usual FocusOut/VisibilityNotify=VisibilityFullyObscured chain of events. This should be used anyway, since drawing to the screen when someone's switched to the browser or whatever and away from your app, isn't wildly useful. > Can the device > state be checked e.g. from some file on the filesystem > (it would be better if SDL apps wouldn't need to use/link > D-BUS)? There is indeed a file in sysfs somewhere. Cheers, Daniel
signature.asc
Description: Digital signature
_______________________________________________ maemo-developers mailing list [email protected] https://maemo.org/mailman/listinfo/maemo-developers
