Upstream has this configure switch:
--disable-composecache Disable compose table cache support
(so thje default is enable which results in -DCOMPOSECACHE)
We currently do not use this in libX11. Can we enable it?
Note: this way I found some unclean variable handling stuff in upstream imLcIm.c which should be reported.