]> granicus.if.org Git - vim/commitdiff
patch 8.0.1342: cannot build with Motif and multi-byte v8.0.1342
authorBram Moolenaar <Bram@vim.org>
Sat, 25 Nov 2017 20:07:46 +0000 (21:07 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 25 Nov 2017 20:07:46 +0000 (21:07 +0100)
Problem:    Cannot build with Motif and multi-byte. (Mohamed Boughaba)
Solution:   Use the right input method status flag. (closes #2374)

src/mbyte.c
src/version.c

index cf60db07f5a3661bb5d1a2571a7df128f5d51bb0..3ebd183c9991d5f9e943d8aa0533ef4f7ee6718f 100644 (file)
@@ -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;
     }
index 3fa66e4921d4f567c99d132af2c2d99213d20e5f..5894a69cdf4b1a31bc07ac30f96a847f65f49e82 100644 (file)
@@ -771,6 +771,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1342,
 /**/
     1341,
 /**/