changeset 105895:1b0e58de42e6

Fix last change.
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 07 Nov 2009 23:53:54 +0000
parents ae9f17f9fa46
children 471721be8fba
files src/xmenu.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xmenu.c	Sat Nov 07 23:53:29 2009 +0000
+++ b/src/xmenu.c	Sat Nov 07 23:53:54 2009 +0000
@@ -1806,7 +1806,7 @@
   /* Display the menu.  */
   gtk_widget_show_all (menu);
   gtk_menu_popup (GTK_MENU (menu), 0, 0, pos_func, &popup_x_y, i,
-		  timestamp);
+		  timestamp > 0 ? timestamp : gtk_get_current_event_time());
 
   record_unwind_protect (pop_down_menu, make_save_value (menu, 0));