diff src/mbyte.c @ 3402:276d58e9265c v7.3.467

updated for version 7.3.467 Problem: Cursor positioned wrong at the command line when regaining focus and using some input method. Solution: Do not position the cursor in command line mode.
author Bram Moolenaar <bram@vim.org>
date Wed, 07 Mar 2012 19:38:55 +0100
parents 54ef99c39139
children f52d2ea0f81c
line wrap: on
line diff
--- a/src/mbyte.c
+++ b/src/mbyte.c
@@ -4504,7 +4504,8 @@ im_show_info(void)
     vgetc_busy = TRUE;
     showmode();
     vgetc_busy = old_vgetc_busy;
-    setcursor();
+    if ((State & NORMAL) || (State & INSERT))
+	setcursor();
     out_flush();
 }