diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-03-07 19:38:55 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-03-07 19:38:55 +0100 |
commit | 917ba89f7f787873cbfc9ce2e8a20b948843f0ae (patch) | |
tree | c2d53a1b7ad79762a15befaf33ec4159f1a808bb | |
parent | 9e98edfe8f8503a3ea84da714bbb5ef37364199e (diff) | |
download | vim-git-917ba89f7f787873cbfc9ce2e8a20b948843f0ae.tar.gz |
updated for version 7.3.467v7.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.
-rw-r--r-- | src/mbyte.c | 3 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 1 deletions
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 @@ -715,6 +715,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 467, +/**/ 466, /**/ 465, |