diff --git a/xwin.c b/xwin.c index 5476713..034d1b7 100644 --- a/xwin.c +++ b/xwin.c @@ -763,10 +763,11 @@ ui_init(void) g_mod_map = XGetModifierMapping(g_display); + xkeymap_init(); + if (g_enable_compose) g_IM = XOpenIM(g_display, NULL, NULL, NULL); - xkeymap_init(); xclip_init(); /* todo take this out when high colour is done */