… | |
… | |
835 | { |
835 | { |
836 | rxvt_print_error ("The locale is not supported by Xlib"); |
836 | rxvt_print_error ("The locale is not supported by Xlib"); |
837 | return; |
837 | return; |
838 | } |
838 | } |
839 | |
839 | |
|
|
840 | im_ev.start (display); |
|
|
841 | |
840 | /* see if we can connect yet */ |
842 | /* see if we can connect already */ |
841 | rxvt_IMInstantiateCallback (display->display, NULL, NULL); |
843 | im_cb (); |
842 | |
|
|
843 | /* To avoid Segmentation Fault in C locale: Solaris only? */ |
|
|
844 | if (STRCMP (locale, "C")) |
|
|
845 | XRegisterIMInstantiateCallback (display->display, NULL, NULL, NULL, |
|
|
846 | rxvt_IMInstantiateCallback, NULL); |
|
|
847 | } |
844 | } |
848 | #endif |
845 | #endif |
849 | } |
846 | } |
850 | |
847 | |
851 | /*----------------------------------------------------------------------*/ |
848 | /*----------------------------------------------------------------------*/ |