summaryrefslogtreecommitdiff
path: root/src/gui.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-06-26 04:49:00 +0200
committerBram Moolenaar <Bram@vim.org>2011-06-26 04:49:00 +0200
commit20892c1e6830abf25828fb73a72815d904271bd0 (patch)
tree4ea1a8d83ed9d282246f8b91f1c31b5e00dcd385 /src/gui.c
parentd58ea072271a14db1f0422d787e2cbd59d530476 (diff)
downloadvim-git-20892c1e6830abf25828fb73a72815d904271bd0.tar.gz
updated for version 7.3.234v7.3.234
Problem: With GTK menu may be popping down. Solution: Use event time instead of GDK_CURRENT_TIME. (Hong Xu)
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui.c b/src/gui.c
index 244dbd547..d7024a82f 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -84,6 +84,10 @@ gui_start()
gui.starting = TRUE;
full_screen = FALSE;
+#ifdef FEAT_GUI_GTK
+ gui.event_time = GDK_CURRENT_TIME;
+#endif
+
#ifdef MAY_FORK
if (!gui.dofork || vim_strchr(p_go, GO_FORG) || recursive)
dofork = FALSE;