diff src/mbyte.c @ 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 75ffa8ee989c
children c53a80f39a52
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;
     }