reverting 4da9922. XIM does not work.