Mercurial > vim
diff src/screen.c @ 12293:1ff5e5dfa9b0 v8.0.1026
patch 8.0.1026: GTK on-the-spot input has problems
commit https://github.com/vim/vim/commit/5c6dbcb03fa552d7b0e61c8fcf425147eb6bf7d5
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 30 22:00:20 2017 +0200
patch 8.0.1026: GTK on-the-spot input has problems
Problem: GTK on-the-spot input has problems. (Gerd Wachsmuth)
Solution: Support over-the-spot. (Yukihiro Nakadaira, Ketn Takata, closes
#1215)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 30 Aug 2017 22:15:04 +0200 |
parents | d0b039e2ed56 |
children | 2a8890b80923 |
line wrap: on
line diff
--- 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