changeset 12932:fe5e4fec0d41 v8.0.1342

patch 8.0.1342: cannot build with Motif and multi-byte commit https://github.com/vim/vim/commit/fb1db0e3550355e10ac86c4a4af21209c5456a66 Author: Bram Moolenaar <Bram@vim.org> 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)
author Christian Brabandt <cb@256bit.org>
date Sat, 25 Nov 2017 21:15:04 +0100
parents 847495fbf6ec
children 9eeaf892510c
files src/mbyte.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
     }
--- 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,