summaryrefslogtreecommitdiff
path: root/src/gui_beval.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-02-14 22:29:30 +0000
committerBram Moolenaar <Bram@vim.org>2006-02-14 22:29:30 +0000
commit1d2ba7fa851f988ea9eab47b7662be243f85ddfa (patch)
tree5882ec62c5c5c6047021a94e74e4797139944a95 /src/gui_beval.c
parentf52c725c4739f2d3368029d67218d6cae0d87995 (diff)
downloadvim-git-1d2ba7fa851f988ea9eab47b7662be243f85ddfa.tar.gz
updated for version 7.0197v7.0197
Diffstat (limited to 'src/gui_beval.c')
-rw-r--r--src/gui_beval.c5
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;
}
}