From 917ba89f7f787873cbfc9ce2e8a20b948843f0ae Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 7 Mar 2012 19:38:55 +0100 Subject: [PATCH] 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. --- src/mbyte.c | 3 ++- src/version.c | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mbyte.c b/src/mbyte.c index 2a202f340..75b41ead9 100644 --- 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(); } diff --git a/src/version.c b/src/version.c index fca10e994..7a22e46cb 100644 --- a/src/version.c +++ b/src/version.c @@ -714,6 +714,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 467, /**/ 466, /**/ -- 2.50.1