If I start an application in iconified mode, for instance 'rxvt -ic', the window is mapped, yet it neither takes focus, nor does it appear in the icon list.
Goes to git HEAD then. Thanks for testing, ryuo!
Tested it against latest git, seems to work as expected now in Xephyr.
Thanks for the report. Does the attached patch against latest git HEAD fix the issue for you?