From eb99095dbd102b7784582cd874ced18bdfb6042c Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sat, 7 Nov 2009 23:53:54 +0000 Subject: [PATCH] Fix last change. --- src/xmenu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xmenu.c b/src/xmenu.c index 0511ee2db51..080930a4e78 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -1806,7 +1806,7 @@ create_and_show_popup_menu (f, first_wv, x, y, for_click, timestamp) /* 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)); -- 2.39.5