Yeah, the Maemo 5 window manager is "broken". It requires all apps to do an explicit XSetInputFocus().