A XIM example A small working example to get the default X Input Method working directly. The default X Input Method that uses the Multi_key and an XCompose file. There may be a bug regarding focus that I haven't tracked down.