summaryrefslogtreecommitdiff
path: root/lwlib
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-08-02 07:13:19 +0000
committerRichard M. Stallman <rms@gnu.org>1995-08-02 07:13:19 +0000
commit53b820199644d468b921b3d476f114524ef03731 (patch)
tree7f745cd4ce0255c25b3f41eb028f34513028094f /lwlib
parentdb9ebe73ee43e0105515f0130390483dda707115 (diff)
downloademacs-53b820199644d468b921b3d476f114524ef03731.tar.gz
(lw_popup_menu): New arg event, passed along.
Diffstat (limited to 'lwlib')
-rw-r--r--lwlib/lwlib.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/lwlib/lwlib.c b/lwlib/lwlib.c
index 796a69c884d..5dd4f1d8133 100644
--- a/lwlib/lwlib.c
+++ b/lwlib/lwlib.c
@@ -1090,24 +1090,25 @@ lw_pop_down_all_widgets (id)
}
void
-lw_popup_menu (widget)
+lw_popup_menu (widget, event)
Widget widget;
+ XEvent *event;
{
#if defined (USE_LUCID)
if (lw_lucid_widget_p (widget))
- xlw_popup_menu (widget);
+ xlw_popup_menu (widget, event);
#endif
#if defined (USE_MOTIF)
if (lw_motif_widget_p (widget))
- xm_popup_menu (widget);
+ xm_popup_menu (widget, event);
#endif
#if defined (USE_OLIT)
if (lw_olit_widget_p (widget))
- xol_popup_menu (widget);
+ xol_popup_menu (widget, event);
#endif
#if defined (USE_XAW)
if (lw_xaw_widget_p (widget))
- xaw_popup_menu (widget);
+ xaw_popup_menu (widget, event);
#endif
}