fixed focus loop when using Display.setParent() on linux, this caused input keys to be missed as the focus shifted from parent to Display and back again.
Authored by: kappa1 2009-03-09
Parent: [r3174]
Child: [r3176]