[maemo-developers] detect window iconified/maximized in SDL
From: Kees Jongenburger kees.jongenburger at gmail.comDate: Sat Mar 28 09:43:16 EET 2009
- Previous message: detect window iconified/maximized in SDL
- Next message: detect window iconified/maximized in SDL
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, Should we/I start a small libsdl project on garage to address such issues? Greetings On Thu, Mar 26, 2009 at 9:35 PM, W. de Hoog <wdehoog at exalondelft.nl> wrote: > Hi, > >> Do you have a separate thread that listens on the libosso callback stuff? >> That could work also if it "locks up" the main loop when display is turned off and >> (like your main thread) doesn't use SDL to wait for events. > I do not have a seperate thread for it. I did register my callback but > as I mailed, it is not being called back when the display goes on or > off. This is very weird and disappointing. > >> You can in select() listen on that file descriptor. You could look for an example here: >> http://hg.berlios.de/repos/hatari/file/c6567e2a430d/src/control.c > Thanks for the link. However this seems a bit beyond my reach. > > > regards, > > -- > Willem-Jan de Hoog > _______________________________________________ > maemo-developers mailing list > maemo-developers at maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers >
- Previous message: detect window iconified/maximized in SDL
- Next message: detect window iconified/maximized in SDL
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]