# HG changeset patch # User Christian Brabandt # Date 1511640904 -3600 # Node ID fe5e4fec0d41832b175ab138b1733ef1028e2484 # Parent 847495fbf6ecbdcfd9431e74e74f6a0e852bf05d patch 8.0.1342: cannot build with Motif and multi-byte commit https://github.com/vim/vim/commit/fb1db0e3550355e10ac86c4a4af21209c5456a66 Author: Bram Moolenaar Date: Sat Nov 25 21:07:46 2017 +0100 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 https://github.com/vim/vim/issues/2374) diff --git a/src/mbyte.c b/src/mbyte.c --- 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 --- a/src/version.c +++ b/src/version.c @@ -772,6 +772,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1342, +/**/ 1341, /**/ 1340,