diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-08-30 22:00:20 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-08-30 22:00:20 +0200 |
commit | 5c6dbcb03fa552d7b0e61c8fcf425147eb6bf7d5 (patch) | |
tree | 13f37aa604997567c63b0e5786ee2625282d8d4b /src/screen.c | |
parent | 4e83961985abb78757b135f29ac4ffde675247af (diff) | |
download | vim-git-8.0.1026.tar.gz |
patch 8.0.1026: GTK on-the-spot input has problemsv8.0.1026
Problem: GTK on-the-spot input has problems. (Gerd Wachsmuth)
Solution: Support over-the-spot. (Yukihiro Nakadaira, Ketn Takata, closes
#1215)
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c index b5762145b..c3bcd3b44 100644 --- a/src/screen.c +++ b/src/screen.c @@ -5197,7 +5197,8 @@ win_line( /* XIM don't send preedit_start and preedit_end, but they send * preedit_changed and commit. Thus Vim can't set "im_is_active", use * im_is_preediting() here. */ - if (xic != NULL + if (p_imst == IM_ON_THE_SPOT + && xic != NULL && lnum == wp->w_cursor.lnum && (State & INSERT) && !p_imdisable |