From: Chong Yidong Date: Sat, 7 Nov 2009 23:53:54 +0000 (+0000) Subject: Fix last change. X-Git-Tag: emacs-pretest-23.1.90~535 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=eb99095dbd102b7784582cd874ced18bdfb6042c;p=emacs.git Fix last change. --- 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));