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)
diff --git a/src/mbyte.c b/src/mbyte.c
index cf60db0..3ebd183 100644
--- a/src/mbyte.c
+++ b/src/mbyte.c
@@ -5922,7 +5922,7 @@
 	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 3fa66e4..5894a69 100644
--- a/src/version.c
+++ b/src/version.c
@@ -772,6 +772,8 @@
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1342,
+/**/
     1341,
 /**/
     1340,