Mercurial > vim
comparison src/vim.h @ 12920:327e1264b9bf v8.0.1336
patch 8.0.1336: cannot use imactivatefunc() unless compiled with +xim
commit https://github.com/vim/vim/commit/6315a9ae924d2104b61d1667ea71af3ac7cf48fa
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 25 15:20:02 2017 +0100
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)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 25 Nov 2017 15:30:06 +0100 |
parents | af2e0401eb8c |
children | 85a601f985ab |
comparison
equal
deleted
inserted
replaced
12919:ddb76d6af5de | 12920:327e1264b9bf |
---|---|
534 #endif | 534 #endif |
535 | 535 |
536 /* | 536 /* |
537 * Check input method control. | 537 * Check input method control. |
538 */ | 538 */ |
539 #if defined(FEAT_XIM) \ | 539 #if defined(FEAT_MBYTE) |
540 || (defined(FEAT_GUI) && (defined(FEAT_MBYTE_IME) || defined(GLOBAL_IME))) \ | |
541 || (defined(FEAT_GUI_MAC) && defined(FEAT_MBYTE)) | |
542 # define USE_IM_CONTROL | 540 # define USE_IM_CONTROL |
543 #endif | 541 #endif |
544 | 542 |
545 /* | 543 /* |
546 * For dynamically loaded gettext library. Currently, only for Win32. | 544 * For dynamically loaded gettext library. Currently, only for Win32. |