[maemo-developers] [maemo-developers] Workaround to prevent crash when pressing home key in SDL programs (IT2006)?
From: Frantisek Dufka dufkaf at seznam.czDate: Sun Jun 18 23:03:12 EEST 2006
- Previous message: [maemo-developers] Workaround to prevent crash when pressing home key in SDL programs (IT2006)?
- Next message: [maemo-developers] launching maemo applications with parameters
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Uwe Koch wrote: > In the beta IT2006 this doesn't work (mentioned bug). > > So is there any chance to deactivate the home key in SDL programs until > the bug is fixed in the GA release? > Well there seems to be fix in SVN for this http://www.gossamer-threads.com/lists/maemo/commits/8981?do=post_view_threaded so maybe the workaround isn't worth the time but if you really want to implement quick workaround for current beta it would be better to fix this properly i.e set the _NET_WM_WINDOW_TYPE window property to _NET_WM_WINDOW_TYPE_NORMAL which is what the task navigator wants for the icon. X example code to set (different) properties is here http://mail.gnome.org/archives/gnome-devel-list/2002-January/msg00119.html You probably need reference to X display and window but maybe they are in some global variables, see the SDL_x11 driver http://www.libsdl.org/cgi/viewvc.cgi/tags/SDL/release-1.2.10/src/video/x11/SDL_x11wm.c?view=log Frantisek
- Previous message: [maemo-developers] Workaround to prevent crash when pressing home key in SDL programs (IT2006)?
- Next message: [maemo-developers] launching maemo applications with parameters
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]