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/ex_getln.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/ex_getln.c')
-rw-r--r-- | src/ex_getln.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c index 74d793735..d0f2bfe1d 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -3468,7 +3468,8 @@ cursorcmd(void) windgoto(msg_row, msg_col); #if defined(FEAT_XIM) && defined(FEAT_GUI_GTK) - redrawcmd_preedit(); + if (p_imst == IM_ON_THE_SPOT) + redrawcmd_preedit(); #endif #ifdef MCH_CURSOR_SHAPE mch_update_cursor(); |