diff options
author | Chong Yidong <[email protected]> | 2009-11-07 23:53:54 +0000 |
---|---|---|
committer | Chong Yidong <[email protected]> | 2009-11-07 23:53:54 +0000 |
commit | eb99095dbd102b7784582cd874ced18bdfb6042c (patch) | |
tree | 7fc0610a1ea04fcaa6882429b43aa06225a85099 /src/xmenu.c | |
parent | 3426871b168057ccf7d655a50220e21052b06b9a (diff) |
Fix last change.
Diffstat (limited to 'src/xmenu.c')
-rw-r--r-- | src/xmenu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmenu.c b/src/xmenu.c index 0511ee2db5..080930a4e7 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)); |