maemo.org Bugzilla – Bug 5153
libsdl: After call to SDL_WM_SetIcon, SDL windows are not focusable
Last modified: 2010-09-08 19:08:36 UTC
You need to
before you can comment on or make changes to this bug.
SOFTWARE VERSION: Fremantle Beta 2 SDK (and device)
STEPS TO REPRODUCE THE PROBLEM:
1. Run DOSBox (or any other SDL app with a SDL_WM_SetIcon call for the matter).
You can write in the command.com prompt.
This is confirmed by upstream: http://bugzilla.libsdl.org/show_bug.cgi?id=586 ,
but the bug is much more noticeable in Fremantle where the window manager seems
to actually care about WM_HINTS.
Also see: http://talk.maemo.org/showthread.php?t=31696 and
There is a (seemingly) working workaround for the bug, which is to remove the
call to SDL_WM_SetIcon. Since icons are pulled from .desktop files, this should
present no problems.
The reason I'm filling this is that it would be interesting to backport
whatever fix is produced back to the Fremantle libsdl before it's too late and
another Maemo SDL weirdness has to be added to the wiki page :) .
I can confirm this bug. In Crimson Fields 0.5.3-1maemo3 all keyboard events go
to underlying window (for example xterm or hildondesktop), mouse events do
I can confirm this too in Maelstrom on the N900.
Works fine in N810, on the N900 it's unusable.
Fixed in upstream SVN now, see http://bugzilla.libsdl.org/show_bug.cgi?id=586
for patch. Backport?
(Also note DOSBox had the SDL_WM_SetIcon removed and thus is no longer a
Any chance of getting a SDL update to fix this?
Created an attachment (id=2483) [details]
patch for setting the input hint correctly
I am attaching the upstream patch to this bugreport. Applies cleanly to
Also note that the bug is fixed in upstream SDL 1.2.14 .