[maemo-developers] Howto grab all Maemo5 zoom key events in SDL/SDL_gles app?
From: Kimmo Hämäläinen kimmo.hamalainen at nokia.comDate: Tue May 4 17:49:08 EEST 2010
- Previous message: Howto grab all Maemo5 zoom key events in SDL/SDL_gles app?
- Next message: Howto grab all Maemo5 zoom key events in SDL/SDL_gles app?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, 2010-05-04 at 16:01 +0200, ext Javier S. Pedro wrote: > Frantisek Dufka wrote: > > I am not sure why there are three X windows in info.info.x11 structure > > (fswindow, wmwindow and window). From brief look into SDL sources it > > seems to me like the 'window' is used when SDL is initialized with not > > owned pre-created window passed to SDL via SDL_WINDOWID variable, > > otherwise wmwindow and fswindow are used depending of full screen state. > > In case you are not using SDL_WINDOWID maybe setting wmwindow and > > fswindow would help you with volume keys? > > WMwindow and FSwindow are containers for "window" (aka gfxwindow) which is > the one where images are pushed into. On the Fremantle SDL, WMwindow and > FSwindow are alternatively mapped when changing from windowed to fullscreen > mode and viceversa -- on a normal SDL, WMwindow is always mapped. Sounds a bit brain-damaged to have two windows when others do fine with one... But if it must be so, you need to put the ZOOM_KEY property to both windows because the topmost counts. -Kimmo > Also, > gfxdisplay -> window (gfxwindow) > display -> wmwindow,fswindow > > Else you will get permission errors when you start trying to do more > complicated things. >
- Previous message: Howto grab all Maemo5 zoom key events in SDL/SDL_gles app?
- Next message: Howto grab all Maemo5 zoom key events in SDL/SDL_gles app?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]