For additional note, another workaround for the Firefox problem is to set IM_UIM_USE_SNOOPER 1 and IM_UIM_USE_TOPLEVEL 0 in gtk/gtk-im-uim.h and compile im-uim.so.
For additional note, another workaround for the Firefox problem is to set IM_UIM_USE_SNOOPER 1 and IM_UIM_USE_TOPLEVEL 0 in gtk/gtk-im-uim.h and compile im-uim.so.