From fb1db0e3550355e10ac86c4a4af21209c5456a66 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 25 Nov 2017 21:07:46 +0100 Subject: [PATCH] patch 8.0.1342: cannot build with Motif and multi-byte Problem: Cannot build with Motif and multi-byte. (Mohamed Boughaba) Solution: Use the right input method status flag. (closes #2374) --- src/mbyte.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mbyte.c b/src/mbyte.c index cf60db07f5..3ebd183c99 100644 --- a/src/mbyte.c +++ b/src/mbyte.c @@ -5922,7 +5922,7 @@ im_set_active(int active_arg) if (active != im_get_status()) { call_imactivatefunc(active); - im_is_active = active; + xim_has_focus = active; } return; } diff --git a/src/version.c b/src/version.c index 3fa66e4921..5894a69cdf 100644 --- a/src/version.c +++ b/src/version.c @@ -771,6 +771,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1342, /**/ 1341, /**/ -- 2.47.2