diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-02-14 22:29:30 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-02-14 22:29:30 +0000 |
commit | 1d2ba7fa851f988ea9eab47b7662be243f85ddfa (patch) | |
tree | 5882ec62c5c5c6047021a94e74e4797139944a95 /src/gui_beval.c | |
parent | f52c725c4739f2d3368029d67218d6cae0d87995 (diff) | |
download | vim-git-1d2ba7fa851f988ea9eab47b7662be243f85ddfa.tar.gz |
updated for version 7.0197v7.0197
Diffstat (limited to 'src/gui_beval.c')
-rw-r--r-- | src/gui_beval.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui_beval.c b/src/gui_beval.c index bb26497fc..6c628cda6 100644 --- a/src/gui_beval.c +++ b/src/gui_beval.c @@ -609,7 +609,10 @@ key_event(BalloonEval *beval, unsigned keyval, int is_keypress) ? (int)GDK_CONTROL_MASK : 0); break; default: - cancelBalloon(beval); + /* Don't do this for key release, we apparently get these with + * focus changes in some GTK version. */ + if (is_keypress) + cancelBalloon(beval); break; } } |