[maemo-developers] detect window iconified/maximized in SDL
From: W. de Hoog wdehoog at exalondelft.nlDate: Wed Apr 1 00:11:07 EEST 2009
- Next message: Help : GTKSourceView and his python binding
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, > BTW. another, perhaps a simpler, way with SDL is to track the FocusOut > and FocusIn events. I think our pre-installed games do that. So when > your window has the focus, run it, otherwise keep it paused. A problem seems to be that fullscreen SDL apps (like mine) do not get the FocusIn/Out Events. Also the Enter/LeaveNotify events are with xcrossing mode NotifyGrab/Ungrab and thus do not generate SDL events. regards, -- Willem-Jan de Hoog
- Next message: Help : GTKSourceView and his python binding
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]