File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1077,7 +1077,7 @@ gui_update_cursor(
10771077 gui_undraw_cursor ();
10781078 if (gui .row < 0 )
10791079 return ;
1080- #ifdef FEAT_MBYTE
1080+ #ifdef HAVE_INPUT_METHOD
10811081 if (gui .row != gui .cursor_row || gui .col != gui .cursor_col )
10821082 im_set_position (gui .row , gui .col );
10831083#endif
@@ -1135,7 +1135,7 @@ gui_update_cursor(
11351135 if (id > 0 )
11361136 {
11371137 cattr = syn_id2colors (id , & cfg , & cbg );
1138- #if defined(FEAT_MBYTE ) || defined(FEAT_HANGULIN )
1138+ #if defined(HAVE_INPUT_METHOD ) || defined(FEAT_HANGULIN )
11391139 {
11401140 static int iid ;
11411141 guicolor_T fg , bg ;
Original file line number Diff line number Diff line change @@ -766,6 +766,8 @@ static char *(features[]) =
766766
767767static int included_patches [] =
768768{ /* Add new patch number below this line */
769+ /**/
770+ 1567 ,
769771/**/
770772 1566 ,
771773/**/
Original file line number Diff line number Diff line change @@ -2118,18 +2118,16 @@ typedef enum {
21182118# define USE_MCH_ERRMSG
21192119#endif
21202120
2121- # if (defined(FEAT_MBYTE_IME ) \
2122- && (!defined(FEAT_GUI_W32 ) \
2123- || !(defined(FEAT_MBYTE_IME ) || defined(GLOBAL_IME )))) \
2124- || (defined(MACOS_CONVERT ) && !defined(FEAT_GUI_MAC ))
2125- /* Whether IME is supported when XIM is not used, im_get_status() is defined in
2126- * mbyte.c. */
2121+ # if defined(FEAT_MBYTE ) && defined(FEAT_EVAL ) \
2122+ && ((!defined(FEAT_GUI_W32 ) \
2123+ || !(defined(FEAT_MBYTE_IME ) || defined(GLOBAL_IME ))) \
2124+ || (defined(MACOS_CONVERT ) && !defined(FEAT_GUI_MAC )))
2125+ /* Whether IME is supported by im_get_status() defined in mbyte.c. */
21272126# define IME_WITHOUT_XIM
21282127#endif
21292128
21302129#if defined(FEAT_MBYTE ) && (defined(FEAT_XIM ) \
21312130 || defined(IME_WITHOUT_XIM ) \
2132- || defined(FEAT_GUI_W32 ) \
21332131 || defined(FEAT_GUI_MAC ))
21342132/* im_set_active() is available */
21352133# define HAVE_INPUT_METHOD
You can’t perform that action at this time.
0 commit comments