summaryrefslogtreecommitdiffstats
path: root/src/gui_xim.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-07-01 15:12:44 +0200
committerBram Moolenaar <Bram@vim.org>2020-07-01 15:12:44 +0200
commitef8c617b9c4dc262ed34598d7e382237696c3d61 (patch)
tree58686e56c1291e18d796c8133debfcd93121f352 /src/gui_xim.c
parent8e6cbb72324b6fb25d1a9abd6cc4d102d0e5f14e (diff)
patch 8.2.1107: 'imactivatefunc' and 'imstatusfunc' are not used in the GUIv8.2.1107
Problem: 'imactivatefunc' and 'imstatusfunc' are not used in the GUI. Solution: Adjust the #ifdefs. (closes #6367)
Diffstat (limited to 'src/gui_xim.c')
-rw-r--r--src/gui_xim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui_xim.c b/src/gui_xim.c
index b5875ee2cd..ee92301337 100644
--- a/src/gui_xim.c
+++ b/src/gui_xim.c
@@ -57,7 +57,7 @@ xim_log(char *s, ...)
}
#endif
-#ifdef FEAT_GUI
+#if defined(FEAT_GUI_MSWIN)
# define USE_IMACTIVATEFUNC (!gui.in_use && *p_imaf != NUL)
# define USE_IMSTATUSFUNC (!gui.in_use && *p_imsf != NUL)
#else