]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.467 v7.3.467
authorBram Moolenaar <Bram@vim.org>
Wed, 7 Mar 2012 18:38:55 +0000 (19:38 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 7 Mar 2012 18:38:55 +0000 (19:38 +0100)
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.

src/mbyte.c
src/version.c

index 2a202f340843f002be229ccb0133c9baeeca14ee..75b41ead9859bfc971dd46ec6744cd816497850a 100644 (file)
@@ -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();
 }
 
index fca10e9945f39bfbcb5203b4d4f7082b312aa6f0..7a22e46cb612bbf5c26e82fc0a5ab96bf0b6c55e 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    467,
 /**/
     466,
 /**/