Fixed it (thanks, Dustin, for some pointers). I removed the im-config package and restarted X (actually, I rebooted). Problem gone. I have no idea why. -- "Soccer is one of those things that the rest of world cares about more than Americans do - you know, like healthcare, education and gun control" - David Letterman