summaryrefslogtreecommitdiff
path: root/src/gui_gtk.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_gtk.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_gtk.c')
-rw-r--r--src/gui_gtk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui_gtk.c b/src/gui_gtk.c
index 94cebd471..50079b406 100644
--- a/src/gui_gtk.c
+++ b/src/gui_gtk.c
@@ -1391,7 +1391,7 @@ gui_mch_show_popupmenu(vimmenu_T *menu)
gtk_menu_popup(GTK_MENU(menu->submenu_id),
NULL, NULL,
(GtkMenuPositionFunc)NULL, NULL,
- 3U, (guint32)GDK_CURRENT_TIME);
+ 3U, gui.event_time);
}
/* Ugly global variable to pass "mouse_pos" flag from gui_make_popup() to