1
0
forked from aniani/vim

patch 8.0.1336: cannot use imactivatefunc() unless compiled with +xim

Problem:    Cannot use imactivatefunc() unless compiled with +xim.
Solution:   Allow using imactivatefunc() when not compiled with +xim.
            (Yasuhiro Matsumoto, closes #2349)
This commit is contained in:
Bram Moolenaar
2017-11-25 15:20:02 +01:00
parent 291a9d15ed
commit 6315a9ae92
11 changed files with 146 additions and 38 deletions

View File

@@ -536,9 +536,7 @@ typedef unsigned long u8char_T; /* long should be 32 bits or more */
/*
* Check input method control.
*/
#if defined(FEAT_XIM) \
|| (defined(FEAT_GUI) && (defined(FEAT_MBYTE_IME) || defined(GLOBAL_IME))) \
|| (defined(FEAT_GUI_MAC) && defined(FEAT_MBYTE))
#if defined(FEAT_MBYTE)
# define USE_IM_CONTROL
#endif