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/undo.c | |
parent | 4e83961985abb78757b135f29ac4ffde675247af (diff) | |
download | vim-5c6dbcb03fa552d7b0e61c8fcf425147eb6bf7d5.zip |
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)
Diffstat (limited to 'src/undo.c')
-rw-r--r-- | src/undo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/undo.c b/src/undo.c index 62963a995..792d79170 100644 --- a/src/undo.c +++ b/src/undo.c @@ -2984,7 +2984,7 @@ u_sync( if (curbuf->b_u_synced || (!force && no_u_sync > 0)) return; #if defined(FEAT_XIM) && defined(FEAT_GUI_GTK) - if (im_is_preediting()) + if (p_imst == IM_ON_THE_SPOT && im_is_preediting()) return; /* XIM is busy, don't break an undo sequence */ #endif if (get_undolevel() < 0) |